John Omernik commented on DRILL-4264:

Lots to process here...

Let me add a simple thing though... 

"As a user I have a new data set, I have no idea what's in it, from Drill 
(that's the key) I should be able to select * from directory, and if it's a 
known format (JSON, Parquet, CSV etc) I should get results back.  I know I can 
do select `field.one`, `field.two` from directory and get it, but say it's a 
parquet file created in Spark... there is no way for me explore that data in 
Drill ... I need select *

> Dots in identifier are not escaped correctly
> --------------------------------------------
>                 Key: DRILL-4264
>                 URL: https://issues.apache.org/jira/browse/DRILL-4264
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Execution - Codegen
>            Reporter: Alex
>            Assignee: Volodymyr Vysotskyi
>              Labels: doc-impacting
>             Fix For: 1.12.0
> If you have some json data like this...
> {code:javascript}
>     {
>       "0.0.1":{
>         "version":"0.0.1",
>         "date_created":"2014-03-15"
>       },
>       "0.1.2":{
>         "version":"0.1.2",
>         "date_created":"2014-05-21"
>       }
>     }
> {code}
> ... there is no way to select any of the rows since their identifiers contain 
> dots and when trying to select them, Drill throws the following error:
> Error: SYSTEM ERROR: UnsupportedOperationException: Unhandled field reference 
> "0.0.1"; a field reference identifier must not have the form of a qualified 
> name
> This must be fixed since there are many json data files containing dots in 
> some of the keys (e.g. when specifying version numbers etc)

This message was sent by Atlassian JIRA

Reply via email to