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
If this is a new option, please fill out the below
Type (boolean, multi-select, number, etc): boolean
Values (if applicable):
If this is to update an existing option, please describe what should be updated
Additional context
In some cases the traditional reindent option does not properly format insert queries. The reindent_aligned flag must be used in it's place.
-- existing reindent flag example-- formatting doesn't process as traditionally expected, all columns are collapsedINSERT INTOSCHEMA1.TABLE_1
(SELECTCURRENT_DATEAS CREATED_AT, COLUMN_1 AS TEST2, NOW() ASCURRENT_TIME, COLUMN_3 AS TEST3, COLUMN_4 AS TEST4, COLUMN_5 AS TEST5, COLUMN_5 AS TEST5, COLUMN_5 AS TEST5, COLUMN_5 AS TEST5
FROMSCHEMA1.TABLE_2);
-- and example when reindent_aligned is used. column alignment remains in their new linesINSERT INTOSCHEMA1.TABLE_1 (
SELECTCURRENT_DATEAS CREATED_AT,
COLUMN_1 AS TEST2,
NOW() ASCURRENT_TIME,
COLUMN_3 AS TEST3,
COLUMN_4 AS TEST4,
COLUMN_5 AS TEST5,
COLUMN_5 AS TEST5,
COLUMN_5 AS TEST5,
COLUMN_5 AS TEST5
FROMSCHEMA1.TABLE_2
);
The text was updated successfully, but these errors were encountered:
Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.94. Please mark this comment with 👍 or 👎 to give our bot feedback!
Option Details
Name: reindent_aligned
If this is a new option, please fill out the below
Type (boolean, multi-select, number, etc): boolean
Values (if applicable):
If this is to update an existing option, please describe what should be updated
Additional context
In some cases the traditional reindent option does not properly format insert queries. The reindent_aligned flag must be used in it's place.
The text was updated successfully, but these errors were encountered: