hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhuwei (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HIVE-19202) CBO failed due to NullPointerException in HiveAggregate.isBucketedInput()
Date Fri, 13 Apr 2018 10:10:00 GMT

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

zhuwei reassigned HIVE-19202:
-----------------------------


> CBO failed due to NullPointerException in HiveAggregate.isBucketedInput()
> -------------------------------------------------------------------------
>
>                 Key: HIVE-19202
>                 URL: https://issues.apache.org/jira/browse/HIVE-19202
>             Project: Hive
>          Issue Type: Bug
>            Reporter: zhuwei
>            Assignee: zhuwei
>            Priority: Critical
>
> I ran a query with join and group by with below settings, COB failed due to NullPointerException
in HiveAggregate.isBucketedInput()
> set hive.execution.engine=tez;
> set hive.cbo.costmodel.extended=true;
>  
> In class HiveRelMdDistribution, we implemented below functions:
> public RelDistribution distribution(HiveAggregate aggregate, RelMetadataQuery mq)
> public RelDistribution distribution(HiveJoin join, RelMetadataQuery mq)
>  
> But in HiveAggregate.isBucketedInput, the argument passed to distribution is "this.getInput()"
> , obviously it's not right here. The right argument needed is "this"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message