drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudheesh Katkam (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1132) CTAS statement gives IndexOutOfBoundsException during planning
Date Thu, 14 Aug 2014 00:10:11 GMT

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

Sudheesh Katkam updated DRILL-1132:
-----------------------------------

    Due Date: 19/Aug/14

> CTAS statement gives IndexOutOfBoundsException during planning
> --------------------------------------------------------------
>
>                 Key: DRILL-1132
>                 URL: https://issues.apache.org/jira/browse/DRILL-1132
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization
>            Reporter: Aman Sinha
>            Assignee: Aman Sinha
>             Fix For: 0.5.0
>
>
> Using TPCH schema, the following CTAS statement fails with IOBE during planning: 
> CREATE TABLE T6 AS SELECT  n_regionkey, count(*), n_nationkey  
>   FROM nation
> GROUP BY n_regionkey, n_nationkey;
> message: "Failure while setting up Foreman. < AssertionError:[ Internal error: Error
while applying rule ExpandConversionRule, args [rel#18181:AbstractConverter.PHYSICAL.HASH_DISTRIBUTED([[$0],
[$2]]).[0, 2](child=rel#17954:Subset#9.PHYSICAL.HASH_DISTRIBUTED([[$0]]).[],convention=PHYSICAL,DrillDistributionTraitDef=HASH_DISTRIBUTED([[$0],
[$2]]),sort=[0, 2])] ] < IndexOutOfBoundsException:[ index (2) must be less than size (2)
]"
> ]
> NOTE:  running the SELECT portion of the CTAS succeeds. 



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

Mime
View raw message