INVALID_INTERVAL_FORMAT error condition

SQLSTATE: 22006

Error parsing '' 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.

ARITHMETIC_EXCEPTION

Uncaught arithmetic exception while parsing ''.

DAY_TIME_PARSING

Error parsing interval day-time string: .

INPUT_IS_EMPTY

Interval string cannot be empty.

INPUT_IS_NULL

Interval string cannot be null.

INTERVAL_PARSING

Error parsing interval string.

INVALID_FRACTION

cannot have fractional part.

INVALID_PRECISION

Interval can only support nanosecond precision, is out of range.

INVALID_PREFIX

Invalid interval prefix .

INVALID_UNIT

Invalid unit .

INVALID_VALUE

Invalid value .

MISSING_NUMBER

Expect a number after but hit EOL.

MISSING_UNIT

Expect a unit name after but hit EOL.

SECOND_NANO_FORMAT

Interval string does not match second-nano format of ss.nnnnnnnnn.

TIMEZONE_INTERVAL_OUT_OF_RANGE

The interval value must be in the range of [-18, +18] hours with second precision.

UNKNOWN_PARSING_ERROR

Unknown error when parsing .

UNMATCHED_FORMAT_STRING

Interval string does not match format of when cast to : .

UNMATCHED_FORMAT_STRING_WITH_NOTICE

Interval string does not match format of when cast to : . Set "spark.sql.legacy.fromDayTimeString.enabled" to "true" to restore the behavior before Spark 3.0.

UNRECOGNIZED_NUMBER

Unrecognized number .

UNSUPPORTED_FROM_TO_EXPRESSION

Cannot support (interval '' to ) expression.