Skip to content

Commit d20f9dd

Browse files
authored
Correct VARIANT Logical Type annotation in Parquet examples (#555)
Updated the representation of unshredded and shredded Variants in Parquet to include the variant version
1 parent 38818fa commit d20f9dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LogicalTypes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,15 +584,15 @@ value, or a shredded Variant value.
584584

585585
This is the expected representation of an unshredded Variant in Parquet:
586586
```
587-
optional group variant_unshredded (VARIANT) {
587+
optional group variant_unshredded (VARIANT(1)) {
588588
required binary metadata;
589589
required binary value;
590590
}
591591
```
592592

593593
This is an example representation of a shredded Variant in Parquet:
594594
```
595-
optional group variant_shredded (VARIANT) {
595+
optional group variant_shredded (VARIANT(1)) {
596596
required binary metadata;
597597
optional binary value;
598598
optional int64 typed_value;

0 commit comments

Comments
 (0)