You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Jefffrey (via GitHub)" <gi...@apache.org> on 2023/02/28 07:15:17 UTC

[GitHub] [arrow-datafusion] Jefffrey commented on issue #5426: `from_qualified_name` bug when column name starts with a number

Jefffrey commented on issue #5426:
URL: https://github.com/apache/arrow-datafusion/issues/5426#issuecomment-1447693760

   I think this might actually be intentional. The SQL dialect that DataFusion uses intentionally disallows having numbers start an identifier, and if you want to have that case then you'd need to quote the identifier, like so:
   
   `Column::from_qualified_name("table_pq.\"1b\"")`
   
   To indicate that it is an identifier as a whole, not a number preceding a word.
   
   Postgres treats such identifiers in a similar way.


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org