andygrove commented on PR #340:
URL: https://github.com/apache/datafusion-comet/pull/340#issuecomment-2093626420
@ganeshkumar269 It looks like the error message check needs a little more
work. Some tests are failing on Spark 3.3.
This error message does not contain `:` or `overflow`. In this specific
case, looking for `CAST_INVALID_INPUT` would be a more robust check.
```
- cast StringType to LongType *** FAILED *** (416 milliseconds)
"[CAST_INVALID_INPUT] The value '-9223372036854775809' of the type
"STRING" cannot be cast to "BIGINT" because it is malformed. Correct the value
as per the syntax, or change its target type. Use `try_cast` to tolerate
malformed input and return NULL instead. If necessary set
"spark.sql.ansi.enabled" to "false" to bypass this error."
did not contain "overflow" (CometCastSuite.scala:881)
```
--
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]