Browse Source

add field types but without value

mq-subscribe
chrislu 8 months ago
parent
commit
138a027a2e
  1. 5
      weed/mq/schema/write_parquet_test.go

5
weed/mq/schema/write_parquet_test.go

@ -18,7 +18,10 @@ func TestWriteParquet(t *testing.T) {
AddRecordField("Person", NewRecordTypeBuilder(). AddRecordField("Person", NewRecordTypeBuilder().
AddStringField("zName"). AddStringField("zName").
AddListField("emails", TypeString)). AddListField("emails", TypeString)).
AddStringField("Company").Build()
AddStringField("Company").
AddRecordField("zAddress", NewRecordTypeBuilder().
AddStringField("Street").
AddStringField("City")).Build()
fmt.Printf("RecordType: %v\n", recordType) fmt.Printf("RecordType: %v\n", recordType)
// create a parquet schema // create a parquet schema

Loading…
Cancel
Save