Files
impala/shell/ext-py/sqlparse-0.1.14/README.rst
casey 71c5ec7af5 IMPALA-1612: (shell) Upgrade sqlparse for bug fix
The only thing this commit does is upgrade sqlparse. The upgrade was
done by downloading and extracting the tarball, nothing else (such as
patching). The older version of sqlparse would parse

SELECT
'
;
'
;

into two statements. Neither statement is complete due to the open quote
and this would cause an infinite loop. The bug is already fixed in the
newest version of sqlparse.

Change-Id: I7ce7c269769ae0cde3dc8ca386d0b0e11bea71c1
Reviewed-on: http://gerrit.cloudera.org:8080/102
Reviewed-by: Casey Ching <casey@cloudera.com>
Tested-by: Internal Jenkins
2015-02-25 23:50:59 +00:00

57 lines
1.0 KiB
ReStructuredText

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