Skip to content

Commit

Permalink
[SPARK-49264][SQL][TESTS] Add collation support unit tests for Contai…
Browse files Browse the repository at this point in the history
…ns, StartsWith, and EndsWith

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

- Contains
- StartsWith
- EndsWith

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 #47726 from uros-db/unit-tests-2.

Authored-by: Uros Bojanic <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
  • Loading branch information
uros-db authored and MaxGekk committed Aug 18, 2024
1 parent 866cfaa commit 56d1e48
Showing 1 changed file with 518 additions and 146 deletions.
Loading

0 comments on commit 56d1e48

Please sign in to comment.