You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vineet Garg (JIRA)" <ji...@apache.org> on 2018/05/22 21:18:04 UTC
[jira] [Updated] (HIVE-19202) CBO failed due to
NullPointerException in HiveAggregate.isBucketedInput()
[ https://issues.apache.org/jira/browse/HIVE-19202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vineet Garg updated HIVE-19202:
-------------------------------
Fix Version/s: (was: 3.1.0)
4.0.0
> 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
> Components: CBO
> Affects Versions: 2.1.1
> Reporter: zhuwei
> Assignee: zhuwei
> Priority: Critical
> Fix For: 4.0.0
>
> Attachments: HIVE-19202.1.patch, HIVE-19202.2.patch
>
>
> 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)