MaxGekk commented on a change in pull request #27464:
[SPARK-29864][SQL][FOLLOWUP] Reference the config for the old behavior in error
message
URL: https://github.com/apache/spark/pull/27464#discussion_r375078074
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/IntervalUtils.scala
##########
@@ -195,7 +198,8 @@ object IntervalUtils {
require(input != null, "Interval day-time string must be not null")
assert(input.length == input.trim.length)
val m = dayTimePatternLegacy.pattern.matcher(input)
- require(m.matches, s"Interval string must match day-time format of 'd
h:m:s.n': $input")
+ require(m.matches, s"Interval string must match day-time format of 'd
h:m:s.n': $input" +
Review comment:
nit: `$input$fallbackNotice"` or remove space in `fallbackNotice` and write
`$input $fallbackNotice"`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]