[
https://issues.apache.org/jira/browse/HIVE-25953?focusedWorklogId=732450&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-732450
]
ASF GitHub Bot logged work on HIVE-25953:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 24/Feb/22 16:15
Start Date: 24/Feb/22 16:15
Worklog Time Spent: 10m
Work Description: asolimando commented on a change in pull request #3033:
URL: https://github.com/apache/hive/pull/3033#discussion_r814042293
##########
File path: ql/src/test/results/clientpositive/llap/subquery_scalar.q.out
##########
@@ -491,25 +484,25 @@ STAGE PLANS:
aggregations: count(VALUE._col0)
mode: mergepartial
outputColumnNames: _col0
- Statistics: Num rows: 1 Data size: 196 Basic stats: COMPLETE
Column stats: NONE
- Limit
- Number of rows: 0
- Statistics: Num rows: 0 Data size: 0 Basic stats: COMPLETE
Column stats: NONE
+ Statistics: Num rows: 1 Data size: 192 Basic stats: COMPLETE
Column stats: NONE
+ Filter Operator
+ predicate: sq_count_check(_col0) (type: boolean)
+ Statistics: Num rows: 1 Data size: 192 Basic stats: COMPLETE
Column stats: NONE
Review comment:
I agree that we must be conservative with this.
I managed to create a filter in line with what you suggested, it makes less
sense but it's enough to showcase the improvement (explaining that in
downstream projects we can have `false` too) and write a unit-test.
I will open a Calcite ticket and link the current one as "blocked by".
I will probably use the `Bug` class to keep track of this dependency and/or
write a comment in `HiveRelMdPredicates` to describe the situation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 732450)
Time Spent: 1h 40m (was: 1.5h)
> Drop HiveRelMdPredicates::getPredicates(Join...) to use that of
> RelMdPredicates
> -------------------------------------------------------------------------------
>
> Key: HIVE-25953
> URL: https://issues.apache.org/jira/browse/HIVE-25953
> 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 40m
> Remaining Estimate: 0h
>
> The goal of the ticket is to unify the two implementations and remove the
> override in HiveRelMdPredicates.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)