[ 
https://issues.apache.org/jira/browse/CALCITE-7687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CALCITE-7687:
------------------------------------
    Labels: in-progress pull-request-available  (was: in-progress)

> Aggregate selectivity estimation uses incorrect column references
> -----------------------------------------------------------------
>
>                 Key: CALCITE-7687
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7687
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Etienne Pelissier
>            Assignee: Etienne Pelissier
>            Priority: Minor
>              Labels: in-progress, pull-request-available
>
> Predicate pushability is assessed without taking into account column 
> remapping from the aggregate.
> Additionally, predicates are pushed without being rewritten as need be. See 
> [FilterAggregateTransposeRule|https://github.com/apache/calcite/blob/3b0444d98ab2708a4de503f63ea70006b7efeb58/core/src/main/java/org/apache/calcite/rel/rules/FilterAggregateTransposeRule.java#L89]
>  + 
> [pushPastProject|https://github.com/apache/calcite/blob/3b0444d98ab2708a4de503f63ea70006b7efeb58/core/src/main/java/org/apache/calcite/plan/RelOptUtil.java#L3356]
>  and 
> [pushPastCalc|https://github.com/apache/calcite/blob/3b0444d98ab2708a4de503f63ea70006b7efeb58/core/src/main/java/org/apache/calcite/plan/RelOptUtil.java#L3384].



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

Reply via email to