Skip to content

Conversation

@srielau
Copy link
Contributor

@srielau srielau commented Jun 16, 2022

What changes were proposed in this pull request?

Replace the error class MISSING_COLUMN with UNRESOLVED_COLUMN wit the following new text:

A column or function parameter with name cannot be resolved. Did you mean one of the following? []

Why are the changes needed?

The existing class name and text does not reflect what is really happening. The column may well exist, it may just not be within scope.

Does this PR introduce any user-facing change?

Yes, we we replace an error class name.

How was this patch tested?

test all affected test suites with MISSING_COLUMN

@srielau srielau force-pushed the SPARK-39492-Rework-MISSING_COLUMN branch 7 times, most recently from e51c49a to 4497bd3 Compare June 17, 2022 02:20
@srielau srielau force-pushed the SPARK-39492-Rework-MISSING_COLUMN branch from 4497bd3 to a4b6957 Compare June 17, 2022 02:21
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@srielau srielau force-pushed the SPARK-39492-Rework-MISSING_COLUMN branch 3 times, most recently from 1c4f625 to 667ab59 Compare June 17, 2022 16:22
Copy link
Member

@gengliangwang gengliangwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error message looks clear now!

@gengliangwang
Copy link
Member

@srielau srielau force-pushed the SPARK-39492-Rework-MISSING_COLUMN branch from 667ab59 to 9e7ca86 Compare June 17, 2022 23:29
@srielau srielau force-pushed the SPARK-39492-Rework-MISSING_COLUMN branch from 9e7ca86 to 66a48ea Compare June 18, 2022 03:01
@gengliangwang
Copy link
Member

Merging to master

@gengliangwang gengliangwang changed the title [SPARK-39492] Rework MISSING_COLUMN [SPARK-39492][SQL] Rework MISSING_COLUMN Jun 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants