IMPALA-6790: Upgrade sqlparse to 0.1.19 Some remote cluster tests have failed to load data due to sqlparse failing to split SQL statements appropriately. The SQL file itself is identical to our usual dataload, so it must be a unique environment. The current version of sqlparse is 0.1.15.
This upgrades sqlparse to 0.1.19. When running on the same environment with the newer version, the problem does not occur. Note that this is not the version used for the Impala shell. Impala shell has sqlparse checked-in under shell/ext-py. Change-Id: Ic5289f86b78f1d77d91a8fa47d63b7a7eaa3af38 Reviewed-on: http://gerrit.cloudera.org:8080/10044 Reviewed-by: Joe McDonnell <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/impala/repo Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/b6d558a2 Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/b6d558a2 Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/b6d558a2 Branch: refs/heads/2.x Commit: b6d558a20127d2df39610cdc5889dc07ef70896e Parents: d8815fb Author: Joe McDonnell <[email protected]> Authored: Thu Apr 12 10:20:14 2018 -0700 Committer: Impala Public Jenkins <[email protected]> Committed: Wed Apr 18 21:17:48 2018 +0000 ---------------------------------------------------------------------- infra/python/deps/requirements.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/impala/blob/b6d558a2/infra/python/deps/requirements.txt ---------------------------------------------------------------------- diff --git a/infra/python/deps/requirements.txt b/infra/python/deps/requirements.txt index d55bc19..06868f8 100644 --- a/infra/python/deps/requirements.txt +++ b/infra/python/deps/requirements.txt @@ -55,7 +55,10 @@ requests == 2.7.0 setuptools == 36.8.0 setuptools-scm == 1.15.4 sh == 1.11 -sqlparse == 0.1.15 +# Note: This version for sqlparse is not what is used for the shell. The shell uses +# a checked-in version of sqlparse (see shell/ext-py). This version is used primarily +# for dataload. +sqlparse == 0.1.19 texttable == 0.8.3 # For dev purposes, not used in scripting. Version 1.2.1 is the latest that supports 2.6.
