-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When formatting a query that has a query within the column list
To Reproduce
python
.from sql_formatter.core import format_sql
print( format_sql( "SELECT Column1, Column2, (SELECT column3 from SubTable) Column 4 FROM TABLE" ) )
output:
SELECT_column1,
_______column2,
_______(SELECT_column3
_FROM___subtable)_column4
FROM___table
Expected behavior
SELECT
_____column1,
_____column2,
_____(
__________SELECT
_______________column3
__________FROM__subtable
_____)_column4
FROM table
Screenshots
Sorry for "_" but the 'code' in the editor was dropping formatting.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working