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

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

                Author: ASF GitHub Bot
            Created on: 04/Aug/20 06:19
            Start Date: 04/Aug/20 06:19
    Worklog Time Spent: 10m 
      Work Description: kasakrisz opened a new pull request #1357:
URL: https://github.com/apache/hive/pull/1357


   ### What changes were proposed in this pull request?
   
   Avoid `UnsupportedOperationException` when calculating cost using 
`HiveOnTezCostModel`.
   
https://issues.apache.org/jira/browse/HIVE-23963?focusedCommentId=17169985&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17169985
   
   ### Why are the changes needed?
   See above section.
   
   ### Does this PR introduce _any_ user-facing change?
   no
   
   ### How was this patch tested?
   Run query 74 and 84 using a 30tb metastore dump:
   ```
   mvn test -Dtest.output.overwrite -DskipSparkTests 
-Dtest=TestTezPerfDBCliDriver -Dqfile=query74.q,query84.q 
-Dtest.metastore.db=postgres.tpcds -pl itests/qtest -Pitests
   ```


----------------------------------------------------------------
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: 466047)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>         Attachments: cbo_query74_stacktrace.txt, cbo_query84_stacktrace.txt
>
>          Time Spent: 10m
>  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)

Reply via email to