mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 02:59:13 +08:00
record type is also optional
This commit is contained in:
parent
ce4597c623
commit
30b5aef62e
@ -24,6 +24,7 @@ func toParquetFieldType(fieldType *schema_pb.Type) (dataType parquet.Node, err e
|
||||
dataType = parquet.Optional(dataType)
|
||||
case *schema_pb.Type_RecordType:
|
||||
dataType, err = toParquetFieldTypeRecord(fieldType.GetRecordType())
|
||||
dataType = parquet.Optional(dataType)
|
||||
case *schema_pb.Type_ListType:
|
||||
dataType, err = toParquetFieldTypeList(fieldType.GetListType())
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user