Commit Graph

7 Commits

Author SHA1 Message Date
ishaan
f262fcea64 Support utf-8 input and out in the shell
Also add --strict_unicode option which controls whether invalid unicode
code points should be ignored on input.

Change-Id: Ice59d6dd3df4557ab3b1fc91d7ddc0e1bf03f1c7
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3218
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
Tested-by: jenkins
2014-07-02 23:18:27 -07:00
ishaan
8e6a998257 Remove generated files from impala-shell external packages.
Replaying an earlier change. It likely got re-written during a merge, and was only
partially applied.

Change-Id: Idfc656225545dfbef892ea4d21a7240a66931f77
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1327
Reviewed-by: Nong Li <nong@cloudera.com>
Tested-by: jenkins
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1456
Reviewed-by: Ishaan Joshi <ishaan@cloudera.com>
2014-02-05 19:30:02 -08:00
ishaan
d3ffdbea15 IMPALA-644 The shell takes too long to parse a query file.
The shell uses an external module called sqlparse to strip the comments from a query file.
When sqlparse.format() is invoked, it runs several grouping functions on the
tokenized query text; some of these methods are very slow, and not needed for comment
removal. This change restricts sqlparse to only invoke the grouping function for removing
comments.

Change-Id: I3a067187667fcd3cd331156a325960a3de2db9c2
Reviewed-on: http://gerrit.ent.cloudera.com:8080/944
Reviewed-by: Ishaan Joshi <ishaan@cloudera.com>
Tested-by: jenkins
2014-01-08 10:54:11 -08:00
ishaan
1656e779b9 Improved comment parsing in query file passed to the shell 2014-01-08 10:50:03 -08:00
ishaan
fa3500eb43 Improve display of query results in the impala shell 2014-01-08 10:48:27 -08:00
ishaan
5166bda649 Make sasl buildable on ubuntu 11/12. 2014-01-08 10:47:52 -08:00
ishaan
83e9bccabb Add the sasl package to source for the shell. 2014-01-08 10:47:51 -08:00