Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.2.1
-
None
-
None
Description
When we run a spark job and when the datatypes during schema inference change and the same is written as parquet files, then when we try to read the data, it fails or mergeSchema fails.
A better way would be to upcast the datatypes to the highest types via a spark option.