Skip to content

[SPARK-47099][SQL][FOLLOW-UP] Uses ordinalNumber in UNEXPECTED_INPUT_TYPE#45225

Closed
HyukjinKwon wants to merge 4 commits into
apache:masterfrom
HyukjinKwon:SPARK-47099-followup
Closed

[SPARK-47099][SQL][FOLLOW-UP] Uses ordinalNumber in UNEXPECTED_INPUT_TYPE#45225
HyukjinKwon wants to merge 4 commits into
apache:masterfrom
HyukjinKwon:SPARK-47099-followup

Conversation

@HyukjinKwon

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR is a followup of #45177 that fixes some leftovers missed.

Why are the changes needed?

For consistency. Also, I think this fixes the Maven build failure: https://github.com/apache/spark/actions/runs/8005710953/job/21865798408

Does this PR introduce any user-facing change?

Yes, the value of 'paramIndex' for the error class UNEXPECTED-INPUT-TYPE is uniformly set by ordinalNumber.

How was this patch tested?

CI in this PR.

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

No.

@github-actions github-actions Bot added the SQL label Feb 22, 2024
@HyukjinKwon

Copy link
Copy Markdown
Member Author

Will fix up the tests

@HyukjinKwon HyukjinKwon requested a review from MaxGekk February 23, 2024 01:19

@dongjoon-hyun dongjoon-hyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please rebase once more to bring the latest bug fix.

+1, LGTM (if CI passes after rebasing.)

@HyukjinKwon

Copy link
Copy Markdown
Member Author

Merged to master.

ericm-db pushed a commit to ericm-db/spark that referenced this pull request Mar 5, 2024
…TYPE

### What changes were proposed in this pull request?

This PR is a followup of apache#45177 that fixes some leftovers missed.

### Why are the changes needed?

For consistency. Also, I think this fixes the Maven build failure: https://github.com/apache/spark/actions/runs/8005710953/job/21865798408

### Does this PR introduce _any_ user-facing change?

Yes, the value of 'paramIndex' for the error class `UNEXPECTED-INPUT-TYPE` is uniformly set by `ordinalNumber`.

### How was this patch tested?

CI in this PR.

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

No.

Closes apache#45225 from HyukjinKwon/SPARK-47099-followup.

Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants