Row.jsonValue has to convert incoming Java date/timestamps types to days/microseconds because DateFormatter/TimestampFormatter APIs didn't accept java.sql.Timestamp/java.util.Date and java.time.Instant/java.time.LocalDate before https://issues.apache.org/jira/browse/SPARK-31762. Internally, the formatters perform conversions to Java types again. This badly impacts on the performance. The ticket aims to add new APIs to DateFormatter and TimestampFormatter that should accept Java types.
- is a clone of
-
SPARK-31762 Fix perf regression of date/timestamp formatting in toHiveString
-
- Resolved
-
- links to