Skip to content

Conversation

@wayneguow
Copy link
Contributor

What changes were proposed in this pull request?

This PR renames a few error classes related to join type and as-of join:

  • _LEGACY_ERROR_TEMP_1319 -> INVALID_JOIN_TYPE_FOR_JOINWITH
  • _LEGACY_ERROR_TEMP_3216 -> UNSUPPORTED_JOIN_TYPE
  • _LEGACY_ERROR_TEMP_3217 -> AS_OF_JOIN.UNSUPPORTED_DIRECTION

Why are the changes needed?

Proper error names and messages improve user experience with Spark SQL.

Does this PR introduce any user-facing change?

Yes, this PR changes user-facing error class and message.

How was this patch tested?

Passed GA.
By running test cases in JoinTypesTest, DatasetSuite and DataFrameAsOfJoinSuite.

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

No.

@wayneguow wayneguow marked this pull request as draft June 15, 2024 11:13
@wayneguow wayneguow marked this pull request as ready for review June 16, 2024 00:10
@wayneguow wayneguow changed the title [SPARK-48635][SQL] Assign classes to join type errors and one left as-of join error [SPARK-48635][SQL] Assign classes to join type errors and as-of join error Jun 17, 2024
@wayneguow
Copy link
Contributor Author

cc @LuciferYang @panbingkun

@allisonwang-db
Copy link
Contributor

cc @ueshin

@HyukjinKwon
Copy link
Member

Merged to master.

@wayneguow
Copy link
Contributor Author

Thank you all. @HyukjinKwon @ueshin @allisonwang-db

@wayneguow wayneguow deleted the jointype branch June 21, 2024 00:39
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.

4 participants