[
https://issues.apache.org/jira/browse/HIVE-22239?focusedWorklogId=324941&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-324941
]
ASF GitHub Bot logged work on HIVE-22239:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Oct/19 08:47
Start Date: 08/Oct/19 08:47
Worklog Time Spent: 10m
Work Description: kgyrtkirk commented on pull request #787: HIVE-22239
URL: https://github.com/apache/hive/pull/787#discussion_r332365302
##########
File path:
ql/src/test/results/clientpositive/llap/retry_failure_stat_changes.q.out
##########
@@ -139,25 +139,25 @@ Stage-0
PARTITION_ONLY_SHUFFLE [RS_12]
Group By Operator [GBY_11] (rows=1/1 width=8)
Output:["_col0"],aggregations:["sum(_col0)"]
- Select Operator [SEL_9] (rows=1/3 width=8)
+ Select Operator [SEL_9] (rows=4/3 width=8)
Output:["_col0"]
- Merge Join Operator [MERGEJOIN_30] (rows=1/3 width=8)
+ Merge Join Operator [MERGEJOIN_30] (rows=4/3 width=8)
Conds:RS_6._col0=RS_7._col0(Inner),Output:["_col0","_col1"]
<-Map 1 [SIMPLE_EDGE] llap
SHUFFLE [RS_6]
PartitionCols:_col0
- Select Operator [SEL_2] (rows=1/5 width=4)
+ Select Operator [SEL_2] (rows=7/5 width=4)
Output:["_col0"]
- Filter Operator [FIL_18] (rows=1/5 width=4)
+ Filter Operator [FIL_18] (rows=7/5 width=4)
Review comment:
there was a "by-design" underestimation in this testcase...now we have good
estimate :)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 324941)
Time Spent: 40m (was: 0.5h)
> Scale data size using column value ranges
> -----------------------------------------
>
> Key: HIVE-22239
> URL: https://issues.apache.org/jira/browse/HIVE-22239
> Project: Hive
> Issue Type: Improvement
> Components: Physical Optimizer
> Reporter: Jesus Camacho Rodriguez
> Assignee: Jesus Camacho Rodriguez
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-22239.01.patch, HIVE-22239.02.patch,
> HIVE-22239.patch
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Currently, min/max values for columns are only used to determine whether a
> certain range filter falls out of range and thus filters all rows or none at
> all. If it does not, we just use a heuristic that the condition will filter
> 1/3 of the input rows. Instead of using that heuristic, we can use another
> one that assumes that data will be uniformly distributed across that range,
> and calculate the selectivity for the condition accordingly.
> This patch also includes the propagation of min/max column values from
> statistics to the optimizer for timestamp type.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)