Skip to content

Commit

Permalink
Add test for modulo
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Mar 6, 2024
1 parent 2d7fac1 commit 39e71a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class CometExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelper {
readParquetFile(dir.getCanonicalPath) { df =>
{
val decimalLiteral = Decimal(0.00)
val cometDf = df.select($"dec" / decimalLiteral)
val cometDf = df.select($"dec" / decimalLiteral, $"dec" % decimalLiteral)
checkSparkAnswerAndOperator(cometDf)
}
}
Expand Down

0 comments on commit 39e71a8

Please sign in to comment.