datafusion-sqlparse/tests
Michael Victor Zink 00662c03fb Display CREATE INDEX column list separated by commas with spaces
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
2025-08-05 11:18:24 -07:00
..
queries/tpch Add Apache License to additional files (#1502) 2024-11-06 16:48:49 -05:00
test_utils Update to ASF header / add when missing (#1437) 2024-09-21 06:23:28 -04:00
pretty_print.rs Add license header to display_utils.rs and pretty_print.rs (#1887) 2025-06-16 18:37:18 +02:00
sqlparser_bigquery.rs Postgres: Support INTERVAL data type options (#1984) 2025-08-02 08:05:13 +02:00
sqlparser_clickhouse.rs Add support for NOT NULL and NOTNULL expressions (#1927) 2025-07-21 12:58:20 +02:00
sqlparser_common.rs Display CREATE INDEX column list separated by commas with spaces 2025-08-05 11:18:24 -07:00
sqlparser_custom_dialect.rs Store spans for Value expressions (#1738) 2025-02-25 07:33:57 +01:00
sqlparser_databricks.rs Add ODBC escape syntax support for time expressions (#1953) 2025-07-29 12:37:04 +02:00
sqlparser_duckdb.rs Add support for Redshift SELECT * EXCLUDE (#1936) 2025-07-11 11:39:29 +02:00
sqlparser_hive.rs Fix clippy lints on 1.88.0 (#1910) 2025-06-27 14:21:17 -04:00
sqlparser_mssql.rs Support optional semicolon between statements (#1937) 2025-07-11 14:46:48 +02:00
sqlparser_mysql.rs MySQL: Support comma-separated CREATE TABLE options (#1989) 2025-08-05 10:30:42 +02:00
sqlparser_postgres.rs Display CREATE INDEX column list separated by commas with spaces 2025-08-05 11:18:24 -07:00
sqlparser_redshift.rs Redshift utf8 idents (#1915) 2025-07-01 13:52:29 +02:00
sqlparser_regression.rs Update to ASF header / add when missing (#1437) 2024-09-21 06:23:28 -04:00
sqlparser_snowflake.rs Snowflake create database (#1939) 2025-08-01 13:56:21 +02:00
sqlparser_sqlite.rs Fix clippy lints on 1.88.0 (#1910) 2025-06-27 14:21:17 -04:00