drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Chang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-726) order by fails when a column has null value
Date Tue, 13 May 2014 23:32:19 GMT

    [ https://issues.apache.org/jira/browse/DRILL-726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13997043#comment-13997043
] 

Chun Chang commented on DRILL-726:
----------------------------------

trace:
java.lang.ClassCastException: org.apache.drill.exec.vector.NullableIntVector cannot be cast
to org.apache.drill.exec.vector.NullableVarBinaryVector
	org.apache.drill.exec.test.generated.MergingReceiverGeneratorBaseGen136.doCopy(MergingReceiverTemplate.java:345)
~[na:na]
	org.apache.drill.exec.physical.impl.mergereceiver.MergingRecordBatch.copyRecordToOutgoingBatch(MergingRecordBatch.java:633)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.physical.impl.mergereceiver.MergingRecordBatch.next(MergingRecordBatch.java:226)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:111)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.next(ScreenCreator.java:80)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:91) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45]
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]
	java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]


> order by fails when a column has null value
> -------------------------------------------
>
>                 Key: DRILL-726
>                 URL: https://issues.apache.org/jira/browse/DRILL-726
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Chun Chang
>
> postgres:
> foodmart=# select c_row, c_groupby from data order by c_row;
>  c_row | c_groupby
> -------+-----------
>      1 | a
>      2 | ab
>      3 | abc
>      4 |
>      5 |
>      6 | abc
>      7 | ab
>      8 | a
>      9 | a
>     10 | ab
>     11 | abc
>     12 |
>     13 |
>     14 | abc
>     15 | ab
>     16 | a
>     17 | a
>     18 | ab
>     19 | abc
>     20 |
>     21 |
>     22 | abc
>     23 | ab
> (23 rows)
> drill:
> 0: jdbc:drill:schema=dfs> select c_row, c_groupby from data order by c_row;
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id:
"8dcb47ec-9c27-4a04-8b48-61e2aad2ad19"
> endpoint {
>   address: "qa-node120.qa.lab"
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Failure while running fragment. < ClassCastException:[ org.apache.drill.exec.vector.NullableIntVector
cannot be cast to org.apache.drill.exec.vector.NullableVarBinaryVector ]"
> ]
> Error: exception while executing query (state=,code=0)



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

Mime
View raw message