Commits


Martin Grigorov authored and GitHub committed b76a437b970
AVRO-3216 Reuse records' schema by name (#1345) * AVRO-3197 Fallback to the 'type' when the logical type does not support the type Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org> * AVRO-3197 Allow only when the "type" is "string" * AVRO-3197 Handle problematic complex type for date/time logical types Read the complex type recursively. It seems Avro Java may produce {"type": {"type": "string", "avro.java.string": "String"}, "logicalType": "timestamp-millis"}}, i.e. logicalType is on the same level as the outer "type" Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org> * AVRO-3216 Allow to reuse record's schema by name * AVRO-3216 Extend the test case to do more assertions * AVRO-3216 Print err with Debug