Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
Similar to the ask in https://issues.apache.org/jira/browse/SPARK-40876, we should be able to enable type promotion/widening for Avro readers - i.e. we should be able to read back Avro data encoded in a narrower type using a wider Spark schema type.
We should support the following:
- Int -> Long
- Float -> Double
- Int -> Double
- Date -> TimestampNTZ (Timestamp without timezone only as a date has no timezone information)
- Decimal with higher precision (already supported in non-vectorized reader)
Attachments
Issue Links
- links to