You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_This is a _shadow issue* for Issue 36 on Google Code (from which this project was moved).
Added 2011-05-14T13:57:38.000Z by nyuhu...@gmail.com. Closed (Fixed).
Labels: Type-Defect, Priority-Medium, Version-0.1.2, Formatter, Milestone-0.1.3.
Please make updates to the bug there.*
Original description
I expect:
>>> code = 'SELECT MAX(COLA) "a", COLB "b", COLC "c" FROM t;'
>>> print sqlparse.format(code, reindent=True)
SELECT MAX(COLA) "a",
COLB "b",
COLC "c"
FROM t;
I get:
>>> code = 'SELECT MAX(COLA) "a", COLB "b", COLC "c" FROM t;'
>>> print sqlparse.format(code, reindent=True)
SELECT MAX(COLA) "a",
COLB "b",
COLC "c"
FROM t;
It gets even worse when more than one columns are wrapped in a function call.
>>> code = 'SELECT MAX(COLA) "a", MAX(COLB) "b", COLC "c" FROM t;'
>>> print sqlparse.format(code, reindent=True)
SELECT MAX(COLA) "a", MAX(COLB) "b",
COLC "c"
FROM t;
Software environment:
sqlparse 0.1.2
Python 2.6.6 (r266:84292, Jan 4 2011, 16:45:45)
Mac OS X 10.6.7
The text was updated successfully, but these errors were encountered:
_This is a _shadow issue* for Issue 36 on Google Code (from which this project was moved).
Added 2011-05-14T13:57:38.000Z by nyuhu...@gmail.com. Closed (Fixed).
Labels: Type-Defect, Priority-Medium, Version-0.1.2, Formatter, Milestone-0.1.3.
Please make updates to the bug there.*
Original description
The text was updated successfully, but these errors were encountered: