andygrove commented on code in PR #3273:
URL: https://github.com/apache/datafusion-comet/pull/3273#discussion_r2725778595
##########
spark/src/test/scala/org/apache/comet/CometMathExpressionSuite.scala:
##########
@@ -90,4 +90,40 @@ class CometMathExpressionSuite extends CometTestBase with
AdaptiveSparkPlanHelpe
1000,
DataGenOptions(generateNegativeZero = generateNegativeZero))
}
+
+ test("width_bucket") {
+ // Basic cases
+ checkSparkAnswerAndOperator("SELECT width_bucket(5.3, 0.2, 10.6, 5)")
Review Comment:
This may not actually be getting evaluated fully in Comet. Please see
https://datafusion.apache.org/comet/contributor-guide/adding_a_new_expression.html#testing-with-literal-values
for details.
--
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]