kazantsev-maksim opened a new pull request, #1602: URL: https://github.com/apache/datafusion-comet/pull/1602
## Which issue does this PR close? Related to Epic: https://github.com/apache/datafusion-comet/issues/240 bit_count: SELECT bit_count(0) => 0 DataFusion's bit_count has same behavior with Spark 's bit_count function Spark: https://spark.apache.org/docs/latest/api/sql/index.html#bit_count Closes #. ## Rationale for this change Defined under Epic: https://github.com/apache/datafusion-comet/issues/240 ## What changes are included in this PR? bitwise_count.rs: impl for bit_count function planner.rs: Maps Spark 's bit_count function to DataFusionComet bit_count physical expression from Spark physical expression expr.proto: bit_count has been added, QueryPlanSerde.scala: bit_count pattern matching case has been added, CometExpressionSuite.scala: A new UT has been added for bit_count function. ## How are these changes tested? A new UT has been added. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org