rishvin commented on code in PR #2063:
URL: https://github.com/apache/datafusion-comet/pull/2063#discussion_r2257884896
##########
spark/src/main/scala/org/apache/comet/serde/hash.scala:
##########
@@ -65,6 +65,29 @@ object CometMurmur3Hash extends CometExpressionSerde {
}
}
+object CometSha2 extends CometExpressionSerde {
+ override def convert(
+ expr: Expression,
+ inputs: Seq[Attribute],
+ binding: Boolean): Option[ExprOuterClass.Expr] = {
+ if (!HashUtils.isSupportedType(expr)) {
+ return None
Review Comment:
Thanks @andygrove for the review. We have withInfo inside the
[isSupportedType](https://github.com/rishvin/datafusion-comet/blob/440afb11ad7d9be3f16233d0a68dc57e36a44051/spark/src/main/scala/org/apache/comet/serde/hash.scala#L101).
Let me know if I'm missing something.
--
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]