Apache Avro Known Issues

Avro Null Defaults Do Not Work in Partitioned Hive Tables

When querying Hive tables created with Avro recursive schemas, Hive silently drops recursive fields. Any attempt to serialize data which exploits recursive schemas results in dropped fields and throws an exception.

Affected Versions: For all versions of CDH 5, Hive does not support Avro recursive schemas in Hive tables.

Cloudera Bug: CDH-72545

Bug: HIVE-10187

Workaround: To workaround this issue, modify the Avro schema by removing the recursive section.

Addressed in: Avro recursive schemas for Hive tables are supported in CDH 6 and later.