Setting spark.sql.legacy.timeParserPolicy=LEGACY in spark-3. Does it implement fallback to older formatter?

Viewed 1159

Let's consider spark.sql.legacy.timeParserPolicy=LEGACY. I can not find answer for a following question:

Does it lead to fallback (in case of failure of new formatter (by new I mean formatter from spark-3)) to older formatters (from spark-2.x)?

It would mean that LEGACY mode make it possible to everything that is accepted by new formatter and everyting that is accepted by older formatters.

0 Answers
Related