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