public class TypeInfoToSchema extends Object
| Constructor and Description |
|---|
TypeInfoToSchema() |
public org.apache.avro.Schema convert(List<String> columnNames, List<TypeInfo> columnTypes, List<String> columnComments, String namespace, String name, String doc)
columnNames - Names of the hive columnscolumnTypes - Hive Column typesnamespace - Namespace of Avro schemaname - Avro schema namedoc - Avro schema docCopyright © 2022 The Apache Software Foundation. All rights reserved.