HyukjinKwon opened a new pull request, #48193:
URL: https://github.com/apache/spark/pull/48193

   ### What changes were proposed in this pull request?
   
   This PR is a followup of https://github.com/apache/spark/pull/47943 that 
enables ANSI for malformed input test in ProcedureSuite.
   
   ### Why are the changes needed?
   
   The specific test fails with ANSI mode disabled
   https://github.com/apache/spark/actions/runs/10951615244/job/30408963913
   
   ```
   - malformed input to implicit cast *** FAILED *** (4 milliseconds)
     Expected exception org.apache.spark.SparkNumberFormatException to be 
thrown, but no exception was thrown (ProcedureSuite.scala:264)
     org.scalatest.exceptions.TestFailedException:
     at 
org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
     at 
org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
     at 
org.scalatest.funsuite.AnyFunSuite.newAssertionFailedException(AnyFunSuite.scala:1564)
   ```
   
   The test depends on `sum`'s failure so this PR simply enables ANSI mode for 
that specific test.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, test-only.
   
   ### How was this patch tested?
   
   Manually ran with ANSI mode off.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.


-- 
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]

Reply via email to