AssHero commented on PR #2613: URL: https://github.com/apache/arrow-datafusion/pull/2613#issuecomment-1137232352
> > > if 'if not exists' and 'or replace' are both specified, treat as 'or replace' > > I personally feel weird about `IF NOT EXIST` coexist with `OR REPLACE`. They are asking for two different behaviors. Should we reject this kind of query like others ( [1](https://docs.microsoft.com/en-us/azure/databricks/sql/language-manual/sql-ref-syntax-ddl-create-table-using#parameters), [2](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#:~:text=collate_specification%5D%0A%5BOPTIONS(schema_option_list)%5D-,Arguments,-IF%20NOT%20EXISTS) )? 'create or replace if not exists' is not supported in MySQL/PG, and is not permitted in databricks. we can have a disscussion about how to deal with it. -- 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...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org