mvzink opened a new pull request, #1993:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1993

   The column list in `CREATE INDEX` now matches the style used elsewhere, e.g. 
in `TableConstraint`, which is to use spaces after commas.
   
   ```sql
   -- before:
   CREATE INDEX idx_name ON table_name (column1,column2,column3);
   -- after:
   CREATE INDEX idx_name ON table_name (column1, column2, column3);
   ```
   
   When `CreateIndex` was added, there was no explanation for the lack of 
spaces, so I assume it was just author preference. But standard style in all 
documentation I've seen is to use spaces after commas (including [MSSQL]'s 
documentation of `INCLUDE`, which copied the no-spaces style when added).
   
   [MSSQL]: 
https://learn.microsoft.com/en-us/sql/t-sql/statements/create-index-transact-sql?view=sql-server-ver17#i-create-an-index-with-included-non-key-columns


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to