You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2015/04/06 22:37:12 UTC

[jira] [Updated] (DRILL-2257) Filter on nested repeated types on top of data with schema changes fails

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

Parth Chandra updated DRILL-2257:
---------------------------------
    Fix Version/s:     (was: 1.0.0)
                   1.1.0

> Filter on nested repeated types on top of data with schema changes fails
> ------------------------------------------------------------------------
>
>                 Key: DRILL-2257
>                 URL: https://issues.apache.org/jira/browse/DRILL-2257
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Data Types
>            Reporter: Rahul Challapalli
>            Assignee: Hanifi Gunes
>             Fix For: 1.1.0
>
>         Attachments: error.log, file1.json, file2.json, file3.json
>
>
> git.commit.id.abbrev=6676f2d
> The data set contains 3 files and 2 records within each file. We added/removed fields between these files. However the below query uses fields which are present in all the files.
> {code}
> select d.uid from `schema_changes` d where d.map.rm[0].rptd[0].a = 'foo';
> +------------+
> |    uid     |
> +------------+
> | 1          |
> Query failed: RemoteRpcException: Failure while running fragment., index: -4, length: 4 (expected: range(0, 16384)) [ bebebc31-0ce7-4b77-9984-f5e548790bfd on qa-node190.qa.lab:31010 ]
> [ bebebc31-0ce7-4b77-9984-f5e548790bfd on qa-node190.qa.lab:31010 ]
> java.lang.RuntimeException: java.sql.SQLException: Failure while executing query.
> 	at sqlline.SqlLine$IncrementalRows.hasNext(SqlLine.java:2514)
> 	at sqlline.SqlLine$TableOutputFormat.print(SqlLine.java:2148)
> 	at sqlline.SqlLine.print(SqlLine.java:1809)
> 	at sqlline.SqlLine$Commands.execute(SqlLine.java:3766)
> 	at sqlline.SqlLine$Commands.sql(SqlLine.java:3663)
> 	at sqlline.SqlLine.dispatch(SqlLine.java:889)
> 	at sqlline.SqlLine.begin(SqlLine.java:763)
> 	at sqlline.SqlLine.start(SqlLine.java:498)
> 	at sqlline.SqlLine.main(SqlLine.java:460)
> {code}
> Running the same query on each of the individual files succeeds and returns the data correctly.
> Let me know if you need anything else



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)