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

Jesus Camacho Rodriguez commented on HIVE-21568:
------------------------------------------------

[~vgarg], that method returns false for any operator that is not recognized, 
e.g., limit, union, or any other:
https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveRelOptUtil.java#L535
Hence, the method will produce the expected output.
A project with a non-deterministic expression does not alter the number of rows 
produced by the project operator.

> HiveRelOptUtil.isRowFilteringPlan should skip Project
> -----------------------------------------------------
>
>                 Key: HIVE-21568
>                 URL: https://issues.apache.org/jira/browse/HIVE-21568
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>         Attachments: HIVE-21568.01.patch, HIVE-21568.01.patch
>
>
> Project operator should not return true in any case, this may trigger 
> additional rewritings in presence of constraints.



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

Reply via email to