We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed62b3 commit 2513ea7Copy full SHA for 2513ea7
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/ExpressionEncoderSuite.scala
@@ -387,7 +387,7 @@ class ExpressionEncoderSuite extends CodegenInterpretedPlanTest with AnalysisTes
387
encodeDecodeTest(new java.math.BigDecimal(("9" * 20) + "." + "9" * 18),
388
"java decimal within precision/scale limit")
389
390
- encodeDecodeTest(BigDecimal(("9" * 20) + "." + "9" * 18).unary_-,
+ encodeDecodeTest(-BigDecimal(("9" * 20) + "." + "9" * 18),
391
"negative scala decimal within precision/scale limit")
392
encodeDecodeTest(new java.math.BigDecimal(("9" * 20) + "." + "9" * 18).negate,
393
"negative java decimal within precision/scale limit")
0 commit comments