shrirangmhalgi commented on PR #56637: URL: https://github.com/apache/spark/pull/56637#issuecomment-4763169143
Thanks @MaxGekk. Wrapped the date-pattern rejection in `QueryExecutionErrors.invalidPatternError` via a shared `DateFormatClass.formatTimeWithError` helper that both eval and codegen call. The test now uses `checkErrorInExpression[SparkRuntimeException]` for full path coverage. -- 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]
