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-48003][SQL] Add collation support for hll sketch aggregate #46241

Closed
wants to merge 3 commits into from

Conversation

uros-db
Copy link
Contributor

@uros-db uros-db commented Apr 26, 2024

What changes were proposed in this pull request?

Introduce collation awareness for hll sketch aggregate.

Why are the changes needed?

Add collation support for hyperloglog expressions in Spark.

Does this PR introduce any user-facing change?

Yes, users should now be able to use collated strings within arguments for hyperloglog function: hll_sketch_agg.

How was this patch tested?

E2e sql tests.

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

No.

@github-actions github-actions bot added the SQL label Apr 26, 2024
@09306677806

This comment was marked as spam.

@uros-db uros-db changed the title [WIP][SPARK-48003][SQL] Add collation support for hll sketch aggregate [SPARK-48003][SQL] Add collation support for hll sketch aggregate Apr 29, 2024
uros-db and others added 2 commits April 29, 2024 16:08
…/CollationFactory.java

Co-authored-by: Wenchen Fan <cloud0fan@gmail.com>
@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in 3aea6c2 Apr 30, 2024
JacobZheng0927 pushed a commit to JacobZheng0927/spark that referenced this pull request May 11, 2024
### What changes were proposed in this pull request?
Introduce collation awareness for hll sketch aggregate.

### Why are the changes needed?
Add collation support for hyperloglog expressions in Spark.

### Does this PR introduce _any_ user-facing change?
Yes, users should now be able to use collated strings within arguments for hyperloglog function: hll_sketch_agg.

### How was this patch tested?
E2e sql tests.

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

Closes apache#46241 from uros-db/hll-agg.

Authored-by: Uros Bojanic <157381213+uros-db@users.noreply.github.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants