alamb commented on issue #15944: URL: https://github.com/apache/datafusion/issues/15944#issuecomment-2852313796
I think there is a usecase for DataFusion remaining "read only" and so some users will prefer to get errors if the table doesn't exist Perhaps we can create a mode / config option, syntax to support "create file of not exists" ```sql CREATE EXTERNAL TABLE t STORED AS CSV LOCATION '~/files/foo.csv' CREATE FILE IF NOT EXISTS -- <-- Proposed Syntax ``` I don't like that particular syntax (hopefully someone could come up with something better) but I think it illustrates the idea -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
