Skip to content

Commit 3d8855a

Browse files
authored
GH-486: Variant object shredding without field shredding (#487)
1 parent ae5b9d7 commit 3d8855a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

VariantShredding.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ Readers can assume that a value is not an object if `typed_value` is null and th
168168
Each shredded field in the `typed_value` group is represented as a required group that contains optional `value` and `typed_value` fields.
169169
The `value` field stores the value as Variant-encoded `binary` when the `typed_value` cannot represent the field.
170170
This layout enables readers to skip data based on the field statistics for `value` and `typed_value`.
171+
The `typed_value` field may be omitted when not shredding fields as a specific type.
171172

172173
The `value` column of a partially shredded object must never contain fields represented by the Parquet columns in `typed_value` (shredded fields).
173174
Readers may always assume that data is written correctly and that shredded fields in `typed_value` are not present in `value`.

0 commit comments

Comments
 (0)