Class AvroHiveFileUtils
java.lang.Object
io.trino.plugin.hive.avro.AvroHiveFileUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.avro.SchemadetermineSchemaOrThrowException(TrinoFileSystem fileSystem, Map<String, String> properties) static org.apache.avro.SchemawrapInUnionWithNull(org.apache.avro.Schema schema)
-
Method Details
-
determineSchemaOrThrowException
public static org.apache.avro.Schema determineSchemaOrThrowException(TrinoFileSystem fileSystem, Map<String, String> properties) throws IOException- Throws:
IOException
-
wrapInUnionWithNull
public static org.apache.avro.Schema wrapInUnionWithNull(org.apache.avro.Schema schema)
-