Skip to content

chore: use datafusion impl of bit_count function#3616

Merged
mbutrovich merged 34 commits intoapache:mainfrom
kazantsev-maksim:refactor_bit_count
Mar 3, 2026
Merged

chore: use datafusion impl of bit_count function#3616
mbutrovich merged 34 commits intoapache:mainfrom
kazantsev-maksim:refactor_bit_count

Conversation

@kazantsev-maksim
Copy link
Contributor

Which issue does this PR close?

Part of: #2443

Rationale for this change

An implementation of bit_count was added in DataFusion.
https://github.com/apache/datafusion/blob/main/datafusion/spark/src/function/bitwise/bit_count.rs

What changes are included in this PR?

How are these changes tested?

Tested with existing unit tests

Copy link
Contributor

@mbutrovich mbutrovich left a comment

Choose a reason for hiding this comment

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

I love when we upstream these to DataFusion! Thanks @kazantsev-maksim!

kazantsev-maksim and others added 3 commits March 3, 2026 19:51
# Conflicts:
#	native/core/src/execution/jni_api.rs
#	native/spark-expr/src/comet_scalar_funcs.rs
@kazantsev-maksim
Copy link
Contributor Author

Thanks @mbutrovich!

@mbutrovich mbutrovich merged commit bae59b5 into apache:main Mar 3, 2026
110 checks passed
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