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] [Created] (DRILL-727) indexoutofboundexception while setting up foreman
Date Tue, 13 May 2014 23:41:16 GMT
Chun Chang created DRILL-727:
--------------------------------

             Summary: indexoutofboundexception while setting up foreman
                 Key: DRILL-727
                 URL: https://issues.apache.org/jira/browse/DRILL-727
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Chun Chang


drill:

0: jdbc:drill:schema=dfs> select cast(c_groupby as varchar(5)) from data order by c_groupby;
Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id:
"398b5e7a-d263-4b23-8233-d911e781e91a"
endpoint {
  address: "qa-node120.qa.lab"
  user_port: 31010
  control_port: 31011
  data_port: 31012
}
error_type: 0
message: "Failure while setting up Foreman. < AssertionError:[ Internal error: Error while
applying rule ExpandConversionRule, args [rel#2332:AbstractConverter.LOGICAL.ANY([]).[1](child=rel#2324:Subset#3.LOGICAL.ANY([]).[],convention=LOGICAL,DrillDistributionTraitDef=ANY([]),sort=[1])]
] < IndexOutOfBoundsException:[ index (1) must be less than size (1) ]"
]
Error: exception while executing query (state=,code=0)

postgres:

foodmart=# select cast(c_groupby as varchar(5)) from data order by c_groupby;
 c_groupby
-----------






 a
 a
 a
 a
 a
 ab
 ab
 ab
 ab
 ab
 ab
 abc
 abc
 abc
 abc
 abc
 abc
(23 rows)



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

Mime
View raw message