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

Ashutosh Chauhan commented on HIVE-13638:
-----------------------------------------

+1 pending tests. 
canAssignFrom() needs to be aware of type hierarchy. Hive's type hierarchy is 
different than Calcite. We will need to normalize this at some point in time 
and follow Hive's hierarchy which is in 
FunctionRegistry::getCommonClassForComparison() 

> CBO rule to pull up constants through Sort/Limit
> ------------------------------------------------
>
>                 Key: HIVE-13638
>                 URL: https://issues.apache.org/jira/browse/HIVE-13638
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CBO
>    Affects Versions: 2.1.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-13638.patch
>
>
> After HIVE-13068 goes in, we need to pull up constants through Sort/Limit 
> operator, as it was done previously by ConstantPropagate in Hive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to