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

Ashutosh Chauhan commented on HIVE-9035:
----------------------------------------

Instead of extending Calcite rules and than preventing them from pushing 
non-deterministic filters, won't it be better that we change native Calcite 
rules to not push such filters. I assume Calcite itself also won't want to push 
such filters.

> CBO: Disable PPD when functions are non-deterministic (ppd_random.q  - 
> non-deterministic udf rand() pushed above join)
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-9035
>                 URL: https://issues.apache.org/jira/browse/HIVE-9035
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CBO
>            Reporter: Sergey Shelukhin
>            Assignee: Laljo John Pullokkaran
>             Fix For: 0.15.0
>
>         Attachments: HIVE-9035.patch
>
>
> Not clear if this is a problem. Probably issue is in Optiq if it is, does it 
> know the UDF is non-deterministic? We could disable Optiq for such UDFs if 
> all else fails.



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

Reply via email to