Description
This is a follow up of https://issues.apache.org/jira/browse/SPARK-36418. Need to split JSON and CSV options dateFormat and timestampFormat. In write, should be the same but in read the option shouldn't be set to a default value. In this way, DateFormatter and TimestampFormatter will use the CAST logic.