bombsimon opened a new pull request, #1881: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1881
Although not documented under https://docs.snowflake.com/en/sql-reference/sql/create-table, it is valid to put the `IF NOT EXIST` _after_ the table name when creating a table for Snowflake. This adds support to check for `IF NOT EXIST` again after parsing the table name if it wasn't found before the name. --- I wish I could find _some_ references of this, but sadly it's not that easy. Best I can do is to provide a screenshot from their UI executing a query with `IF NOT EXIST` after the table and show that it succeeds. <img width="756" alt="image" src="https://github.com/user-attachments/assets/936b889a-6ad0-4b85-a6cb-169632fcb90c" /> -- 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