[
https://issues.apache.org/jira/browse/CALCITE-7687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Etienne Pelissier updated CALCITE-7687:
---------------------------------------
Description:
Predicate pushability is assessed without taking into account column remapping
from the aggregate.
Additionally, predicates are pushed without being rewritten as need be. See
[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].
was:
Predicate pushability is assessed without taking into account column remapping
from the aggregate.
Additionally, predicates are pushed without being rewritten as need be.
> 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
>
> Predicate pushability is assessed without taking into account column
> remapping from the aggregate.
> Additionally, predicates are pushed without being rewritten as need be. See
> [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)