You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2014/07/25 00:31:38 UTC

[jira] [Updated] (DRILL-1190) Selecting 2 columns which are arrays from a nested json source fails to compile the runtime generated code

     [ https://issues.apache.org/jira/browse/DRILL-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rahul Challapalli updated DRILL-1190:
-------------------------------------

    Attachment: runtime.java
                sample2.json
                error.log

Attached the data and log files

> Selecting 2 columns which are arrays from a nested json source fails to compile the runtime generated code
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-1190
>                 URL: https://issues.apache.org/jira/browse/DRILL-1190
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow, Storage - JSON
>            Reporter: Rahul Challapalli
>         Attachments: error.log, runtime.java, sample2.json
>
>
> git.commit.id.abbrev=e5c2da0
> The below query fails to compile the runtime generated code:
> select s.a.ArrayOfLiterals3, s.a.ArrayOfLiterals4 from `sample2.json` s;
> However the below queries work :
> select s.a.ArrayOfLiterals3 from `sample2.json` s;
> select s.a.ArrayOfLiterals4 from `sample2.json` s;
> select s.ArrayOfLiterals1, s.ArrayOfLiterals2 from `sample2.json` s;
> Looks like a problem when the selected columns have depth > 1



--
This message was sent by Atlassian JIRA
(v6.2#6252)