Skip to content

Commit d93931f

Browse files
authored
fix: Make Sha2 fallback message more user-friendly (#2213)
1 parent ae4053c commit d93931f

File tree

1 file changed

+1
-1
lines changed
  • spark/src/main/scala/org/apache/comet/serde

1 file changed

+1
-1
lines changed

spark/src/main/scala/org/apache/comet/serde/hash.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ object CometSha2 extends CometExpressionSerde[Sha2] {
7575
// It's possible for spark to dynamically compute the number of bits from input
7676
// expression, however DataFusion does not support that yet.
7777
if (!expr.right.foldable) {
78-
withInfo(expr, "For Sha2, non-foldable right argument is not supported")
78+
withInfo(expr, "For Sha2, non literal numBits is not supported")
7979
return None
8080
}
8181

0 commit comments

Comments
 (0)