[
https://issues.apache.org/jira/browse/IMPALA-6790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe McDonnell resolved IMPALA-6790.
-----------------------------------
Resolution: Fixed
Fix Version/s: Impala 2.13.0
Impala 3.0
> sqlparse needs to be upgraded in the Python environment
> -------------------------------------------------------
>
> Key: IMPALA-6790
> URL: https://issues.apache.org/jira/browse/IMPALA-6790
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: Impala 3.0
> Reporter: Joe McDonnell
> Assignee: Joe McDonnell
> Priority: Major
> Fix For: Impala 3.0, Impala 2.13.0
>
>
> bin/load-data.py uses sqlparse to read SQL files and split them into SQL
> statements. Recently, some remote cluster tests have seen errors during
> dataload due to sqlparse failing to split SQL statements appropriately.
> Specifically, it does not detect the end of a SQL statement and tries to run
> dozens of SQL statements together. Impala's parser rejects this. The SQL file
> is identical to the SQL file generated during our normal dataload, so
> clearly, something about this system or its environment breaks sqlparse.
> sqlparse in our environment is 0.1.15, which is quite old. The latest
> sqlparse is 0.2.4. Running the tests with sqlparse 0.2.4 does not encounter
> the error. sqlparse needs to be upgraded.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)