drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parth Chandra (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-2257) Filter on nested repeated types on top of data with schema changes fails
Date Wed, 18 Feb 2015 22:27:13 GMT

     [ 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: 0.9.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: Daniel Barclay (Drill/MapR)
>             Fix For: 0.9.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)

Mime
View raw message