drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Challapalli (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DRILL-1190) Selecting 2 columns which are arrays from a nested json source fails to compile the runtime generated code
Date Fri, 01 May 2015 22:35:06 GMT

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

Rahul Challapalli closed DRILL-1190.
------------------------------------

Verified and added the below testcase

Functional/Passing/json_storage/q2_DRILL-1190.q

> 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
>            Assignee: Mehant Baid
>             Fix For: 0.5.0
>
>         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.3.4#6332)

Mime
View raw message