[ 
https://issues.apache.org/jira/browse/HIVE-20477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16595076#comment-16595076
 ] 

Zoltan Haindrich commented on HIVE-20477:
-----------------------------------------

[~ashutoshc] I'm not sure what we should do here: this patch will be needed - 
but it doesn't change really anything as long as we don't have CALCITE-2444....
should we wait with this the 1.18 release, or get it in earlier?
I've attached a sample patch....it only needs some changes in the HiveIn.java ; 
to be able to unparse the in expression as they are in Calcite...

> OptimizedSql is not shown if the expression contains INs
> --------------------------------------------------------
>
>                 Key: HIVE-20477
>                 URL: https://issues.apache.org/jira/browse/HIVE-20477
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>         Attachments: HIVE-20477.01wip01.patch
>
>
> This ticket should fix HiveIn to be able to unparse; currently if an IN is 
> unparsed - there are some exceptions because HiveIn is a special operator; 
> but doesn't have unparse implemented.
> CALCITE-2444 is also needed to fix rel2sql to be able to process INs which 
> are not there represent a subquery.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to