-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Feature] Add function bitmap_from_binary and bitmap_to_binary #35621
Conversation
38a5bb3
to
01e3d8b
Compare
Signed-off-by: trueeyu <[email protected]>
01e3d8b
to
d8854f9
Compare
better to add docs of these functions in this pr too. |
I will add the doc in another pr. |
f45f4b0
to
a9a55ae
Compare
Signed-off-by: trueeyu <[email protected]>
08065d3
to
37e1f7f
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information The version of Java (11.0.21) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
[FE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[BE Incremental Coverage Report]❌ fail : 1 / 36 (02.78%) file detail
|
https://github.com/Mergifyio backport branch-3.2 |
✅ Backports have been created
|
Signed-off-by: trueeyu <[email protected]> (cherry picked from commit eb4f691)
https://github.com/Mergifyio backport branch-3.1 |
https://github.com/Mergifyio backport branch-3.0 |
✅ Backports have been created
|
https://github.com/Mergifyio backport branch-2.5 |
✅ Backports have been created
|
✅ Backports have been created
|
Signed-off-by: trueeyu <[email protected]> (cherry picked from commit eb4f691)
Signed-off-by: trueeyu <[email protected]> (cherry picked from commit eb4f691) # Conflicts: # be/src/exprs/vectorized/bitmap_functions.cpp # be/src/exprs/vectorized/bitmap_functions.h # gensrc/script/vectorized/vectorized_functions.py
Signed-off-by: trueeyu <[email protected]> (cherry picked from commit eb4f691) # Conflicts: # be/src/exprs/bitmap_functions.cpp # be/src/exprs/bitmap_functions.h # gensrc/script/functions.py
…ocks#35621) Signed-off-by: trueeyu <[email protected]>
Signed-off-by: trueeyu <[email protected]> (cherry picked from commit eb4f691)
Signed-off-by: trueeyu <[email protected]> (cherry picked from commit eb4f691)
… (#36092) Signed-off-by: trueeyu <[email protected]>
Why I'm doing:
Currently, Bitmap import/export needs to be supported. If converted to text format (bitmap_to_string) or base64 (bitmap_to_base64), thre will be some performance overheadand and the output size will be large, so a binary format needs to be defined to facilitate direct writing to parquet files.
What I'm doing:
Implemnt two function:
The format is consistent with the implementation in segment file.
Later, we will implement a java UDF to facilitate users to parse this format in Hive or application systems.
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: