spark-avro icon indicating copy to clipboard operation
spark-avro copied to clipboard

Write Decimals in Avro format under Avro 1.7.7+

Open JoshRosen opened this issue 9 years ago • 1 comments

Avro 1.7.7 added support for Decimal type: https://issues.apache.org/jira/browse/AVRO-1402

`spark-avro currently writes decimals as strings. We should explore whether we can use Avro's decimal support instead when running against a supported Avro version.

JoshRosen avatar Aug 29 '15 00:08 JoshRosen

If we do this, it's maybe worth feature-flagging.

JoshRosen avatar Nov 22 '16 00:11 JoshRosen