[
https://issues.apache.org/jira/browse/HIVE-23963?focusedWorklogId=467771&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-467771
]
ASF GitHub Bot logged work on HIVE-23963:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Aug/20 08:47
Start Date: 07/Aug/20 08:47
Worklog Time Spent: 10m
Work Description: kasakrisz commented on a change in pull request #1357:
URL: https://github.com/apache/hive/pull/1357#discussion_r466908433
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveRelDistribution.java
##########
@@ -81,8 +84,16 @@ public RelDistribution apply(TargetMapping mapping) {
return this;
}
List<Integer> newKeys = new ArrayList<>(keys.size());
+
+ // Instead of using a HashMap for lookup
newKeys.add(mapping.getTargetOpt(key)); should be called but not all the
+ // mapping supports that. See HIVE-23963. Replace this when this is fixed
in calcite.
Review comment:
Created: https://issues.apache.org/jira/browse/CALCITE-4166
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 467771)
Time Spent: 1h (was: 50m)
> UnsupportedOperationException in queries 74 and 84 while applying
> HiveCardinalityPreservingJoinRule
> ---------------------------------------------------------------------------------------------------
>
> Key: HIVE-23963
> URL: https://issues.apache.org/jira/browse/HIVE-23963
> Project: Hive
> Issue Type: Bug
> Components: CBO
> Reporter: Stamatis Zampetakis
> Assignee: Krisztian Kasa
> Priority: Major
> Labels: pull-request-available
> Attachments: cbo_query74_stacktrace.txt, cbo_query84_stacktrace.txt
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> The following TPC-DS queries:
> * cbo_query74.q
> * cbo_query84.q
> * query74.q
> * query84.q
> fail on the metastore with the partitioned TPC-DS 30TB dataset.
> The stacktraces for cbo_query74 and cbo_query84 show that the problem
> originates while applying HiveCardinalityPreservingJoinRule.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)