devinjdangelo opened a new pull request, #7276:
URL: https://github.com/apache/arrow-datafusion/pull/7276

   ## Which issue does this PR close?
   
   Follow on to #7244 
   
   Related to #7228 and #7036
   
   ## Rationale for this change
   
   Previous PRs adding support for inserting to `ListingTables` have not 
adequately tested an end to end process of creating an empty external table 
from SQL and subsequently inserting data into it. This PR adds test cases for 
this and adds a few enhancements / solves a few bugs to make the test cases 
pass.
   
   ## What changes are included in this PR?
   
   - New test cases which create empty external table and insert data into it
   - Remove logic throwing error when parquet schema is specified via SQL since 
it is now supported
   - Support setting `ListingTableInsertMode` via `Create External Table ... 
OPTIONS ()` statement
   - Update old test cases expecting setting parquet schema to fail
   - Fix bug in CsvSink which set header to always be true even if table 
specified this explicitly as false
   
   ## Are these changes tested?
   
   Yes
   
   ## Are there any user-facing changes?
   
   Creating empty external tables and inserting to them via SQL is possible 
now. 


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

Reply via email to