[
https://issues.apache.org/jira/browse/HIVE-25952?focusedWorklogId=758176&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-758176
]
ASF GitHub Bot logged work on HIVE-25952:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Apr/22 00:16
Start Date: 19/Apr/22 00:16
Worklog Time Spent: 10m
Work Description: github-actions[bot] commented on PR #3024:
URL: https://github.com/apache/hive/pull/3024#issuecomment-1101873703
This pull request has been automatically marked as stale because it has not
had recent activity. It will be closed if no further activity occurs.
Feel free to reach out on the [email protected] list if the patch is in
need of reviews.
Issue Time Tracking
-------------------
Worklog Id: (was: 758176)
Time Spent: 1h 10m (was: 1h)
> Drop HiveRelMdPredicates::getPredicates(Project...) to use that of
> RelMdPredicates
> ----------------------------------------------------------------------------------
>
> Key: HIVE-25952
> URL: https://issues.apache.org/jira/browse/HIVE-25952
> Project: Hive
> Issue Type: Sub-task
> Components: CBO
> Affects Versions: 4.0.0
> Reporter: Alessandro Solimando
> Assignee: Alessandro Solimando
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> There are some differences on this method between Hive and Calcite, the idea
> of this ticket is to unify the two methods, and then drop the override in
> HiveRelMdPredicates in favour of the method of RelMdPredicates.
> After applying HIVE-25966, the only difference is in the test for constant
> expressions, which can be summarized as follows:
> ||Expression Type|Is Constant for Hive?||Is Constant for Calcite?||
> |InputRef|False|False|
> |Call|True if function is deterministic (arguments are not checked), false
> otherwise|True if function is deterministic and all operands are constants,
> false otherwise|
> |CorrelatedVariable|False|False|
> |LocalRef|False|False|
> |Over|False|False|
> |DymanicParameter|False|True|
> |RangeRef|False|False|
> |FieldAccess|False|Given expr.field, true if expr is constant, false
> otherwise|
--
This message was sent by Atlassian Jira
(v8.20.1#820001)