Package io.trino.tests.product.hive
Class TestAvroSchemaStrictness
java.lang.Object
io.trino.tempto.ProductTest
io.trino.tests.product.hive.TestAvroSchemaStrictness
public class TestAvroSchemaStrictness
extends io.trino.tempto.ProductTest
Avro 1.8.2 was not strict about schema validation, causing the more-strict
Avro 1.9.2 to cause failures with some schemas that previously worked. This
was resolved in Avro 1.10.2's reader.
This class tests that Trino can read some data written with invalid schemas by Avro 1.8.2.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TestAvroSchemaStrictness
public TestAvroSchemaStrictness()
-
-
Method Details
-
testInvalidUnionDefaults
- Throws:
IOException
-