mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
Upgrading sqlparse ended up trading one bug for another. The new bug is not fixed upstream, I sent a patch. The problem is '\\' is not considered a terminated string and we use this in the phrase "fields escaped by '\\'" when creating tables. Change-Id: Id57081f5a96e997afd3aa9b26dca23f627488fc3 Reviewed-on: http://gerrit.cloudera.org:8080/117 Reviewed-by: Casey Ching <casey@cloudera.com> Tested-by: Internal Jenkins
python-sqlparse - Parse SQL statements ====================================== sqlparse is a non-validating SQL parser module for Python. |buildstatus|_ Install ------- Run:: python setup.py install to install python-sqlparse on your system. python-sqlparse is compatible with Python 2 (>= 2.5) and Python 3 (>= 3.2). Run Tests --------- To run the test suite run:: tox Note, you'll need tox installed, of course. Links ----- Project Page https://github.com/andialbrecht/sqlparse Documentation http://readthedocs.org/docs/sqlparse/en/latest/ Discussions http://groups.google.com/group/sqlparse Issues/Bugs https://github.com/andialbrecht/sqlparse/issues Online Demo http://sqlformat.org python-sqlparse is licensed under the BSD license. Parts of the code are based on pygments written by Georg Brandl and others. pygments-Homepage: http://pygments.org/ .. |buildstatus| image:: https://secure.travis-ci.org/andialbrecht/sqlparse.png?branch=master .. _buildstatus: http://travis-ci.org/#!/andialbrecht/sqlparse