This is an automated email from the ASF dual-hosted git repository.
gangwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-format.git
The following commit(s) were added to refs/heads/master by this push:
new a498aa9 Update shredding example (#478)
a498aa9 is described below
commit a498aa9a377edcdbc5da802cf9f1763a2e409411
Author: Aihua Xu <[email protected]>
AuthorDate: Tue Jan 14 18:10:09 2025 -0800
Update shredding example (#478)
---
VariantShredding.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/VariantShredding.md b/VariantShredding.md
index 31e1f52..54d8272 100644
--- a/VariantShredding.md
+++ b/VariantShredding.md
@@ -83,8 +83,8 @@ optional group variant_col {
|---------------|-------------------------|-----------------|---------------|-----------------|------------------------|--------------------------|-------|
| {a: 123, b: {c: “hello”}} | null | null | 123 | null | hello | null | All
values shredded |
| {a: 1.23, b: {c: “123”}} | null | null | null | 1.23 | 123 | null | a is not
an integer |
-| {a: 123, b: {c: null}} | null | null | null | 123 | null | null | b.object.c
set to non-null to indicate VariantNull |
-| {a: 123, b: {} | null | null | null | 123 | null | null | b.object.c set to
null, to indicate that c is missing |
+| {a: 123, b: {c: null}} | null | null | 123 | null | null | null | b.object.c
set to non-null to indicate VariantNull |
+| {a: 123, b: {}} | null | null | 123 | null | null | null | b.object.c set to
null, to indicate that c is missing |
| {a: 123, d: 456} | {d: 456} | null | 123 | null | null | null | Extra field
d is stored as variant_value |
| [{a: 1, b: {c: 2}}, {a: 3, b: {c: 4}}] | [{a: 1, b: {c: 2}}, {a: 3, b: {c:
4}}] | null | null | null | null | null | Not an object |