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

   * Make spaces around equals signs canonical: `ENGINE = InnoDB` instead of 
`ENGINE=InnoDB`
   * Make equals signs canonical: `AUTO_INCREMENT = 100` instead of 
`AUTO_INCREMENT 100`
   * Make equals signs optional for charset, engine, and collation to match 
MySQl: `COLLATE utf8mb4_unicode_ci` works as well as `COLLATE = 
utf8mb4_unicode_ci`
   
   In some dialects, some options might require the equals signs, so will be 
more permissive in some situations. For example, [ClickHouse] requires the 
equals signs for `ENGINE`. It didn't seem worth special casing this to me.
   
   [ClickHouse]: 
https://clickhouse.com/docs/en/sql-reference/statements/create/table/#create-table-options


-- 
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