Skip to content

Comments

Feature compatible sr bitmap#5515

Closed
AOKI123 wants to merge 2 commits intoapache:release-1.0from
AOKI123:feature_compatible_sr_bitmap
Closed

Feature compatible sr bitmap#5515
AOKI123 wants to merge 2 commits intoapache:release-1.0from
AOKI123:feature_compatible_sr_bitmap

Conversation

@AOKI123
Copy link

@AOKI123 AOKI123 commented Apr 22, 2025

[core] Add the bitmap_agg aggregation function to be compatible with StarRocks' bitmap format.

Purpose

Linked issue: close #xxx

Tests

API and Format

Documentation

@JingsongLi
Copy link
Contributor

Why we need to have a starrocks bitmap?

@AOKI123
Copy link
Author

AOKI123 commented May 14, 2025

Why we need to have a starrocks bitmap?

@JingsongLi
Hi. When I use the bitmap data type of the Paimon table and query Paimon data with StarRocks, and use the StarRocks function bitmap_from_binary, an error occurs stating that it cannot be serialized into the Bitmap type of StarRocks. So I extended it to be compatible with the bitmap type of StarRocks, enabling me to use various bitmap functions on the Paimon table in StarRocks.

@JingsongLi
Copy link
Contributor

@AOKI123 I suggest you use the custom jar to customize the merge function, and do not introduce SR dependencies in Paimon.

@JingsongLi JingsongLi closed this Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants