Commits


Oscar Westra van Holthe - Kind authored and GitHub committed 0e74de1eedc
AVRO-2976: Add LogicalType parsing to the IDL (#985) * AVRO-2976: Add LogicalType parsing to IDL * AVRO-2976: Handle both Long and Integer in IDL JSON parsing The IDL parser now distinguishes numbers between Long and Integer. This is needed because the logical type decimal breaks on Long numbers for precision and scale. I chose to solve it here because the scope of this change is smaller. An alternative is to downcast a Long in the method LogicalTypes.Decimal#getInt(Schema, String). * AVRO-2976: Remove duplicate annotation processing for types. * Extend simple test to also verify annotations on arrays (the grammar alrewady supports this). * AVRO-2976: Trigger tests (build fail on unrelated part) * AVRO-2976: Revert pom.xml change. * AVRO-2976: Fix copy/paste error * AVRO-2976: Remove debugging code The removed code was used to evaluate if the test would work. * AVRO-2976: Spotless * AVRO-2976: Fix test The test worked because calling toString() on the protocol made schemas available by their unqualified name (without namespace).