[
https://issues.apache.org/jira/browse/SPARK-57617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-57617.
---------------------------------
Fix Version/s: 4.3.0
Resolution: Fixed
Issue resolved by pull request 56674
[https://github.com/apache/spark/pull/56674]
> Refine BIN BY error conditions and SQLSTATEs
> --------------------------------------------
>
> Key: SPARK-57617
> URL: https://issues.apache.org/jira/browse/SPARK-57617
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 5.0.0
> Reporter: Nikolina Vraneš
> Assignee: Nikolina Vraneš
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.3.0
>
>
> Follow-up to the {{BIN BY}} operator (SPARK-57133) refining its analysis-time
> error conditions:
> * Correct SQLSTATEs that did not match their semantics.
> * Rename {{BIN_BY_DISTRIBUTE_TYPE_MISMATCH}} to
> {{BIN_BY_INVALID_DISTRIBUTE_COLUMN_TYPE}} (an absolute required-type check,
> not a two-operand mismatch).
> * Split the {{BIN_BY_INVALID_BIN_WIDTH}} catch-all into separate
> fold-failure, non-positive, and wrong-type conditions so each carries the
> right SQLSTATE.
> * Replace {{BIN_BY_COLUMN_NOT_FOUND}} with the standard
> {{UNRESOLVED_COLUMN.WITH_SUGGESTION}}.
> {{BIN BY}} is new on master (5.0.0), gated off by default, and unreleased, so
> no released version is affected.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]