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

ASF subversion and git services commented on IMPALA-14484:
----------------------------------------------------------

Commit 3057fda801aeed17f2fdd7605c0ab28fa27da2cb in impala's branch 
refs/heads/master from Steve Carlin
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=3057fda80 ]

IMPALA-14484: Calcite planner: Add column stats to union slot descriptors

There is explicit code in SetOperationStmt which adds column stats to the
SlotDescriptor.  This code is now reused to obtain the column stats for the
Calcite compiler and added to the union slot descriptors.

The tpcds unit tests now have better estimates.

Change-Id: Ia0585fafa45658dffffdbf6410b028f03304b6e9
Reviewed-on: http://gerrit.cloudera.org:8080/24017
Reviewed-by: Michael Smith <[email protected]>
Reviewed-by: Jason Fehr <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Calcite planner: Add column stats to union slot descriptors
> -----------------------------------------------------------
>
>                 Key: IMPALA-14484
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14484
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Steve Carlin
>            Assignee: Steve Carlin
>            Priority: Major
>
> There are some tests in 
> query_test.test_runtime_filters.TestRuntimeRowFilters.test_row_filters
> that are failing which have a union in them.
> The code can be traced to the fact that ColumnStats are added to union slot 
> descriptors in the SetOperationStmt code.  This code needs to be applied to 
> the Calcite code.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to