File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,11 @@ type BsonType struct{}
260260
261261func (t * BsonType ) String () string { return "BSON" }
262262
263+ // Embedded Variant logical type annotation
264+ type VariantType struct {}
265+
266+ func (* VariantType ) String () string { return "VARIANT" }
267+
263268// LogicalType annotations to replace ConvertedType.
264269//
265270// To maintain compatibility, implementations using LogicalType for a
@@ -288,6 +293,7 @@ type LogicalType struct { // union
288293 Bson * BsonType `thrift:"13"` // use ConvertedType BSON
289294 UUID * UUIDType `thrift:"14"` // no compatible ConvertedType
290295 Float16 * Float16Type `thrift:"15"` // no compatible ConvertedType
296+ Variant * VariantType `thrift:"16"` // no compatible ConvertedType
291297}
292298
293299func (t * LogicalType ) String () string {
@@ -912,6 +918,7 @@ type ColumnOrder struct { // union
912918 // ENUM - unsigned byte-wise comparison
913919 // LIST - undefined
914920 // MAP - undefined
921+ // VARIANT - undefined
915922 //
916923 // In the absence of logical types, the sort order is determined by the physical type:
917924 // BOOLEAN - false, true
You can’t perform that action at this time.
0 commit comments