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