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.ProductTestAvro 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 Constructor Description TestAvroSchemaStrictness()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestInvalidUnionDefaults()
-
-
-
Method Detail
-
testInvalidUnionDefaults
public void testInvalidUnionDefaults() throws IOException- Throws:
IOException
-
-