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


   *Note*: migrated from original JIRA: 
https://issues.apache.org/jira/browse/ARROW-10329
   
   This bug can be worked around by wrapping column names in quotes.
   
   Example:
   
   {{let query = "SELECT 16_20mph, 21_25mph FROM foo;"}}
   
   {{let logical_plan = ctx.create_logical_plan(query)?;}}
   
   {{logical_plan.schema().fields() now has fields: [_20mph, _25mph]}}
   
   The resulting table produced by this query looks like:
   ||{{_20mph}}||{{_25mph}}||
   |16|21|
   |16|21|
   
   Every row is identical, where the column value is equal to the initial 
number that appears in the column name.


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

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


Reply via email to