[
https://issues.apache.org/jira/browse/SPARK-57476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikolina Vraneš updated SPARK-57476:
------------------------------------
Description: (was: Wire UnresolvedBinBy into the single-pass
(Analyzer++) resolver so it resolves to the same BinBy plan as the fixed-point
ResolveBinBy rule. Adds BinByResolver, a ResolverGuard arm, and a
ResolutionValidator arm, and extracts the shared validation/folding into
BinByResolution so both analyzers produce identical results.
Decision: a missing BIN BY column now reports the standard
UNRESOLVED_COLUMN.WITH_SUGGESTION (in both analyzers) instead of the bespoke
BIN_BY_COLUMN_NOT_FOUND, matching how other operators report missing columns.
The top-level-only check keeps BIN_BY_REQUIRES_TOP_LEVEL_COLUMN.
BIN_BY_COLUMN_NOT_FOUND is removed.)
> Extract shared BIN BY validation and refine column-reference errors
> -------------------------------------------------------------------
>
> Key: SPARK-57476
> URL: https://issues.apache.org/jira/browse/SPARK-57476
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 5.0.0
> Reporter: Nikolina Vraneš
> Priority: Major
> Labels: pull-request-available
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]