findepi commented on code in PR #17531:
URL: https://github.com/apache/datafusion/pull/17531#discussion_r2360707551
##########
datafusion/spark/src/function/bitmap/bitmap_count.rs:
##########
@@ -48,8 +49,10 @@ impl Default for BitmapCount {
impl BitmapCount {
pub fn new() -> Self {
Self {
- // TODO: add definitive TypeSignature after
https://github.com/apache/datafusion/issues/17291 is done
- signature: Signature::any(1, Volatility::Immutable),
+ signature: Signature::coercible(
+ vec![Coercion::new_exact(TypeSignatureClass::Binary)],
Review Comment:
👍
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]