Spark inferences a PARQUET double column schema type as a DecimalType column when it should be Double. The serializer didn't expect this behavior and this PR adds safeguards to avoid failures.
Coverage increased (+0.01%) to 33.843% when pulling 5b264abddb5c714238fce8c7ff7899723e831368 on pfcoperez:serializationDecimaSafeguard into 8fcd5d607babbfa44b88f385e5fa3fe796ffbd67 on Stratio:master.
Description
Spark inferences a PARQUET double column schema type as a DecimalType column when it should be Double. The serializer didn't expect this behavior and this PR adds safeguards to avoid failures.
Testing