Skip to content

[SPARK-55862][SQL] Rename _LEGACY_ERROR_TEMP_2027 to UNEXPECTED_OPERATOR_IN_CORRELATED_SUBQUERY#54656

Open
mikhailnik-db wants to merge 1 commit intoapache:masterfrom
mikhailnik-db:unexpected-operator-in-correlated-subquery
Open

[SPARK-55862][SQL] Rename _LEGACY_ERROR_TEMP_2027 to UNEXPECTED_OPERATOR_IN_CORRELATED_SUBQUERY#54656
mikhailnik-db wants to merge 1 commit intoapache:masterfrom
mikhailnik-db:unexpected-operator-in-correlated-subquery

Conversation

@mikhailnik-db
Copy link
Contributor

What changes were proposed in this pull request?

Rename the legacy error condition _LEGACY_ERROR_TEMP_2027 to a proper error class UNEXPECTED_OPERATOR_IN_CORRELATED_SUBQUERY with SQL state 0A000 (feature not supported).

Why are the changes needed?

_LEGACY_ERROR_TEMP_2027 is a legacy placeholder error name. It should be replaced with a descriptive error class name and assigned a proper SQL state to improve error reporting and comply with the ANSI SQL standard.

Does this PR introduce any user-facing change?

Yes. The error condition name changes from _LEGACY_ERROR_TEMP_2027 to UNEXPECTED_OPERATOR_IN_CORRELATED_SUBQUERY and now includes SQL state 0A000. The error message itself remains unchanged.

How was this patch tested?

Existing tests.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code 2.1.70

…ATED_SUBQUERY

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mikhailnik-db mikhailnik-db changed the title [SQL] Rename _LEGACY_ERROR_TEMP_2027 to UNEXPECTED_OPERATOR_IN_CORRELATED_SUBQUERY [SPARK-55862][[SQL] Rename _LEGACY_ERROR_TEMP_2027 to UNEXPECTED_OPERATOR_IN_CORRELATED_SUBQUERY Mar 6, 2026
@mikhailnik-db mikhailnik-db changed the title [SPARK-55862][[SQL] Rename _LEGACY_ERROR_TEMP_2027 to UNEXPECTED_OPERATOR_IN_CORRELATED_SUBQUERY [SPARK-55862][SQL] Rename _LEGACY_ERROR_TEMP_2027 to UNEXPECTED_OPERATOR_IN_CORRELATED_SUBQUERY Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant