Skip to content

[SPARK-57576] [SQL] Fix SET_OPERATION_ON_MAP_TYPE and SET_OPERATION_ON_VARIANT_TYPE exception messages#56611

Open
mihailoale-db wants to merge 1 commit into
apache:masterfrom
mihailoale-db:fixerromsg2
Open

[SPARK-57576] [SQL] Fix SET_OPERATION_ON_MAP_TYPE and SET_OPERATION_ON_VARIANT_TYPE exception messages#56611
mihailoale-db wants to merge 1 commit into
apache:masterfrom
mihailoale-db:fixerromsg2

Conversation

@mihailoale-db

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

SET_OPERATION_ON_MAP_TYPE exception message references Dataframe programs only although it's thrown for SQL queries as well. Same stands for SET_OPERATION_ON_VARIANT_TYPE. In this PR I propose to fix it.

Why are the changes needed?

To improve error message.

Does this PR introduce any user-facing change?

Yes, improved error message.

How was this patch tested?

Existing + added tests.

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

Yes.

@mihailoale-db mihailoale-db changed the title [SPARK-57576] [SQL] Fix SET_OPERATION_ON_MAP_TYPE and SET_OPERATION_ON_VARIANT_TYPE exception messages [SPARK-57576] [SQL] Fix SET_OPERATION_ON_MAP_TYPE and SET_OPERATION_ON_VARIANT_TYPE exception messages Jun 19, 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