[
https://issues.apache.org/jira/browse/SPARK-62388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hemanth Boyina updated SPARK-62388:
-----------------------------------
Description:
Spark currently rejects Parquet/ORC aggregate pushdown when a nonempty GROUP BY
contains fewer columns than the table’s partition schema, even when every
grouping column is a partition column.
With the V2 file source and aggregate pushdown enabled, this query can use
per-file footer statistics. Each file has constant partition values, so its
reader can return the requested grouping keys alongside its partial aggregate
results. Spark’s existing final aggregation can then combine results from files
sharing those keys
> Support Parquet/ORC aggregate pushdown when grouping columns are a subset of
> partition columns
> ----------------------------------------------------------------------------------------------
>
> Key: SPARK-62388
> URL: https://issues.apache.org/jira/browse/SPARK-62388
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 5.0.0
> Reporter: Hemanth Boyina
> Priority: Major
>
> Spark currently rejects Parquet/ORC aggregate pushdown when a nonempty GROUP
> BY contains fewer columns than the table’s partition schema, even when every
> grouping column is a partition column.
>
> With the V2 file source and aggregate pushdown enabled, this query can use
> per-file footer statistics. Each file has constant partition values, so its
> reader can return the requested grouping keys alongside its partial aggregate
> results. Spark’s existing final aggregation can then combine results from
> files sharing those keys
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]