alamb opened a new issue, #9714:
URL: https://github.com/apache/arrow-datafusion/issues/9714

   ### Describe the bug
   
   https://github.com/apache/arrow-datafusion/pull/9604 from @metesynnada 
rationalied `COPY` option handling 🙏 
   
   However one of the tests needed to be commented out: 
https://github.com/apache/arrow-datafusion/blob/1d0171ab9d33fc7896861dee85804d7daf0a6390/datafusion/sqllogictest/test_files/copy.slt#L114-L142
   
   
   
   ### To Reproduce
   
   @metesynnada   explained on 
https://github.com/synnada-ai/datafusion-upstream/pull/10#discussion_r1526407025
   
   > Before this pull request, there was a problem with how escape characters 
in the PARTITIONED BY clause were processed in both the CREATE EXTERNAL TABLE 
and COPY TO statements. The issue stemmed from converting the Value to a string 
too early in the parsing process, leading to errors.
   >
   > Although it appears that the test passes, in reality, during the execution 
of CREATE EXTERNAL TABLE, the specified field names do not match as expected, 
indicating a silent error. This issue should be addressed separately, as it 
falls outside the scope of the current PR.
   > 
   > I propose that we standardize the approach to handling column names in 
both the schema definitions and the PARTITIONED BY clauses. Once we establish a 
consistent method, the relevance of this test can be reassessed.
   > 
   > I will proceed to open an issue to address it.
   
   ### Expected behavior
   
   The test should pass 
   
   ### Additional context
   
   _No response_


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