drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Challapalli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2257) Filter on nested repeated types on top of data with schema changes fails
Date Tue, 17 Feb 2015 23:36:13 GMT
Rahul Challapalli created DRILL-2257:

             Summary: 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)


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.

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)

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

View raw message