INVALID_INTERVAL_FORMAT error class
Error parsing ‘<input>
’ to interval. Please ensure that the value provided is in a valid format for defining an interval. You can reference the documentation for the correct format.
Uncaught arithmetic exception while parsing ‘<input>
’.
Error parsing interval day-time string: <msg>
.
Interval string cannot be empty.
Interval string cannot be null.
Error parsing interval <interval>
string.
<unit>
cannot have fractional part.
Interval can only support nanosecond precision, <value>
is out of range.
Invalid interval prefix <prefix>
.
Invalid unit <unit>
.
Invalid value <value>
.
Expect a number after <word>
but hit EOL.
Expect a unit name after <word>
but hit EOL.
Interval string does not match second-nano format of ss.nnnnnnnnn.
The interval value must be in the range of [-18, +18] hours with second precision.
Unknown error when parsing <word>
.
Interval string does not match <intervalStr>
format of <supportedFormat>
when cast to <typeName>
: <input>
.
Interval string does not match <intervalStr>
format of <supportedFormat>
when cast to <typeName>
: <input>
. Set “spark.sql.legacy.fromDayTimeString.enabled” to “true” to restore the behavior before Spark 3.0.
Unrecognized number <number>
.
Cannot support (interval ‘<input>
’ <from>
to <to>
) expression.