galaxytemple opened a new pull request, #26921:
URL: https://github.com/apache/datafusion/pull/26921

   ## Which issue does this PR close?
   - Closes #26877
   
   ## Rationale for this change
   Unquoted table names in `register_csv` are normalized to lowercase, so 
querying them with exact-case quoted identifiers (e.g. `SELECT * FROM 
"Example"`) fails. In this case, users are supposed to use 
`TableReference::bare`.
   
   Per @Phoenix500526's suggestion in #26877, this documents the behavior and 
adds an example.
   
   ## What changes are included in this PR?
   - Document identifier normalization in `register_csv` with an example using 
`TableReference::bare`
   - Add a unit test verifying both behaviors
   
   ## What is the testing strategy for this PR?
    - New doc test and unit test in `csv.rs`
   
   ## Are there any user-facing changes?
   No (docs and test only)


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

Reply via email to