hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-23963) UnsupportedOperationException in queries 74 and 84 while applying HiveCardinalityPreservingJoinRule
Date Thu, 06 Aug 2020 17:34:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-23963?focusedWorklogId=467449&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-467449
]

ASF GitHub Bot logged work on HIVE-23963:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Aug/20 17:33
            Start Date: 06/Aug/20 17:33
    Worklog Time Spent: 10m 
      Work Description: jcamachor commented on a change in pull request #1357:
URL: https://github.com/apache/hive/pull/1357#discussion_r466575229



##########
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:
       @kasakrisz , please create the Calcite JIRA so it is easier to track. Thanks




----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 467449)
    Time Spent: 50m  (was: 40m)

> 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: 50m
>  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)

Mime
View raw message