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
Here are some constructs that are currently not handled by the pretty printer (they are displayed on a single line). I'm opening this to serve as a tracking issue to track implementation of these.
Format INSERT INTO with both VALUES and SELECT forms
Support UPDATE and DELETE with proper clause indentation
indent CREATE TABLE column definitions and constraints
Format CREATE VIEW and nested SELECT cleanly
Handle CREATE FUNCTION/PROCEDURE blocks with inner SQL formatting
format json_table and xmltable
Format BEGIN, COMMIT, ROLLBACK blocks clearly
Support control flow structures (IF, WHILE, LOOP) with block indentation
support multiline strings (the indentation should not be reflected inside the string)
Handle MERGE statements with WHEN MATCHED and WHEN NOT MATCHED branches
format CREATE INDEX with minimal structure
Handle EXPLAIN, EXPLAIN ANALYZE, and DESCRIBE statements
This is a followup on #1847
Here are some constructs that are currently not handled by the pretty printer (they are displayed on a single line). I'm opening this to serve as a tracking issue to track implementation of these.
INSERT INTO
with bothVALUES
andSELECT
formsUPDATE
andDELETE
with proper clause indentationCREATE TABLE
column definitions and constraintsCREATE VIEW
and nestedSELECT
cleanlyCREATE FUNCTION
/PROCEDURE
blocks with inner SQL formattingjson_table
andxmltable
BEGIN
,COMMIT
,ROLLBACK
blocks clearlyIF
,WHILE
,LOOP
) with block indentationMERGE
statements withWHEN MATCHED
andWHEN NOT MATCHED
branchesCREATE INDEX
with minimal structureEXPLAIN
,EXPLAIN ANALYZE
, andDESCRIBE
statementscc @alamb
The text was updated successfully, but these errors were encountered: