Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-49265][SQL][TESTS] Add collation support unit tests for Upper, Lower, and InitCap #47727

Closed
wants to merge 1 commit into from

Conversation

uros-db
Copy link
Contributor

@uros-db uros-db commented Aug 12, 2024

What changes were proposed in this pull request?

Add collation support unit tests for:

  • Upper
  • Lower
  • InitCap

This PR contains test-only changes, providing additional test coverage for cases such as:

  • case and accent variation
  • one-to-many case mapping
  • conditional case mapping
  • surrogate pairs
  • etc.

Why are the changes needed?

Improve collation support testing.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

New unit tests in CollationSupportSuite.

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

Yes.

@github-actions github-actions bot added the SQL label Aug 12, 2024
@uros-db uros-db changed the title [SPARK-49213][SQL] Add collation support unit tests for Upper, Lower, and InitCap [SPARK-49213][SQL][TESTS] Add collation support unit tests for Upper, Lower, and InitCap Aug 12, 2024
@uros-db uros-db changed the title [SPARK-49213][SQL][TESTS] Add collation support unit tests for Upper, Lower, and InitCap [WIP][SPARK-49213][SQL][TESTS] Add collation support unit tests for Upper, Lower, and InitCap Aug 13, 2024
@uros-db uros-db changed the title [WIP][SPARK-49213][SQL][TESTS] Add collation support unit tests for Upper, Lower, and InitCap [SPARK-49213][SQL][TESTS] Add collation support unit tests for Upper, Lower, and InitCap Aug 14, 2024
Copy link
Contributor Author

@uros-db uros-db left a comment

Choose a reason for hiding this comment

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

all checks good, marking as ready for review

@uros-db uros-db changed the title [SPARK-49213][SQL][TESTS] Add collation support unit tests for Upper, Lower, and InitCap [SPARK-49265][SQL][TESTS] Add collation support unit tests for Upper, Lower, and InitCap Aug 16, 2024
@MaxGekk
Copy link
Member

MaxGekk commented Aug 16, 2024

+1, LGTM. Merging to master.
Thank you, @uros-db.

@MaxGekk MaxGekk closed this in 8566bc6 Aug 16, 2024
IvanK-db pushed a commit to IvanK-db/spark that referenced this pull request Sep 20, 2024
… Lower, and InitCap

### What changes were proposed in this pull request?
Add collation support unit tests for:

- Upper
- Lower
- InitCap

This PR contains test-only changes, providing additional test coverage for cases such as:
- case and accent variation
- one-to-many case mapping
- conditional case mapping
- surrogate pairs
- etc.

### Why are the changes needed?
Improve collation support testing.

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

### How was this patch tested?
New unit tests in `CollationSupportSuite`.

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

Closes apache#47727 from uros-db/unit-tests-3.

Authored-by: Uros Bojanic <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
attilapiros pushed a commit to attilapiros/spark that referenced this pull request Oct 4, 2024
… Lower, and InitCap

### What changes were proposed in this pull request?
Add collation support unit tests for:

- Upper
- Lower
- InitCap

This PR contains test-only changes, providing additional test coverage for cases such as:
- case and accent variation
- one-to-many case mapping
- conditional case mapping
- surrogate pairs
- etc.

### Why are the changes needed?
Improve collation support testing.

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

### How was this patch tested?
New unit tests in `CollationSupportSuite`.

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

Closes apache#47727 from uros-db/unit-tests-3.

Authored-by: Uros Bojanic <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
himadripal pushed a commit to himadripal/spark that referenced this pull request Oct 19, 2024
… Lower, and InitCap

### What changes were proposed in this pull request?
Add collation support unit tests for:

- Upper
- Lower
- InitCap

This PR contains test-only changes, providing additional test coverage for cases such as:
- case and accent variation
- one-to-many case mapping
- conditional case mapping
- surrogate pairs
- etc.

### Why are the changes needed?
Improve collation support testing.

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

### How was this patch tested?
New unit tests in `CollationSupportSuite`.

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

Closes apache#47727 from uros-db/unit-tests-3.

Authored-by: Uros Bojanic <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
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