hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laljo John Pullokkaran (JIRA)" <>
Subject [jira] [Commented] (HIVE-11152) Swapping join inputs in ASTConverter
Date Wed, 01 Jul 2015 00:56:04 GMT


Laljo John Pullokkaran commented on HIVE-11152:

Add a comment to plan modifier why are we adding project only if right is a join and left
is not a join (about swapping left and right). This is little bit of a hack in the sense that
swapping is done by ASTConverter.  Swapping should be done by PlanModifier instead as it is
its purpose.
This should be done in a separate pass in planmodifier(or keep track of joins that need this

2. With #1 changes in ASTConverter will be migrated to PlanModifier.

> Swapping join inputs in ASTConverter
> ------------------------------------
>                 Key: HIVE-11152
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-11152.patch
> We want that multijoin optimization in SemanticAnalyzer always kicks in when CBO is enabled
(if possible). For that, we may need to swap the join inputs when we return from CBO through
the Hive AST.

This message was sent by Atlassian JIRA

View raw message