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

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

                Author: ASF GitHub Bot
            Created on: 24/Jul/20 17:25
            Start Date: 24/Jul/20 17:25
    Worklog Time Spent: 10m 
      Work Description: kasakrisz commented on a change in pull request #1184:
URL: https://github.com/apache/hive/pull/1184#discussion_r460189193



##########
File path: 
ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query84.q.out
##########
@@ -56,24 +56,24 @@ CBO PLAN:
 HiveProject(customer_id=[$0], customername=[$1])
   HiveSortLimit(sort0=[$2], dir0=[ASC], fetch=[100])
     HiveProject(customer_id=[$2], customername=[$6], c_customer_id=[$2])
-      HiveJoin(condition=[=($8, $4)], joinType=[inner], algorithm=[none], 
cost=[not available])
-        HiveJoin(condition=[=($1, $3)], joinType=[inner], algorithm=[none], 
cost=[not available])
-          HiveJoin(condition=[=($0, $1)], joinType=[inner], algorithm=[none], 
cost=[not available])
+      HiveJoin(condition=[=($8, $4)], joinType=[inner], 
algorithm=[CommonJoin], cost=[not available])

Review comment:
       Added logic to reset the `joinAlgorithm` back to `none` in all 
`HiveJoin` nodes after calculating the cost and switching back the 
MetadataProvider




----------------------------------------------------------------
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: 463064)
    Time Spent: 50m  (was: 40m)

> Rewrite plan to join back tables: support function calls in project
> -------------------------------------------------------------------
>
>                 Key: HIVE-23750
>                 URL: https://issues.apache.org/jira/browse/HIVE-23750
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Krisztian Kasa
>            Assignee: Krisztian Kasa
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> {code}
> select
>     c_first_name || ' ' || c_last_name,
>     (ss_quantity * ss_list_price) * (1.0 - c_discount),
>     c_customer_sk,
>     ss_customer_sk
> from store_sales ss
> join customer c on ss_customer_sk = c_customer_sk;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to