ronkorving commented on code in PR #10831:
URL: https://github.com/apache/iceberg/pull/10831#discussion_r1964622918


##########
format/spec.md:
##########
@@ -182,6 +182,20 @@ A **`list`** is a collection of values with some element 
type. The element field
 
 A **`map`** is a collection of key-value pairs with a key type and a value 
type. Both the key field and value field each have an integer id that is unique 
in the table schema. Map keys are required and map values can be either 
optional or required. Both map keys and map values may be any type, including 
nested types.
 
+#### Semi-structured Types
+
+A **`variant`** is a value that stores semi-structured data. The structure and 
data types in a variant are not necessarily consistent across rows in a table 
or data file. The variant type and binary encoding are defined in the [Parquet 
project](https://github.com/apache/parquet-format/blob/master/VariantEncoding.md),
 with support currently available for V1. Support for Variant is added in 
Iceberg v3.

Review Comment:
   > ...with support currently available for V1. Support for Variant is added 
in Iceberg v3.
   
   Does that mean Parquet spec V1?



##########
format/spec.md:
##########
@@ -182,6 +182,20 @@ A **`list`** is a collection of values with some element 
type. The element field
 
 A **`map`** is a collection of key-value pairs with a key type and a value 
type. Both the key field and value field each have an integer id that is unique 
in the table schema. Map keys are required and map values can be either 
optional or required. Both map keys and map values may be any type, including 
nested types.
 
+#### Semi-structured Types
+
+A **`variant`** is a value that stores semi-structured data. The structure and 
data types in a variant are not necessarily consistent across rows in a table 
or data file. The variant type and binary encoding are defined in the [Parquet 
project](https://github.com/apache/parquet-format/blob/master/VariantEncoding.md),
 with support currently available for V1. Support for Variant is added in 
Iceberg v3.

Review Comment:
   > ...with support currently available for V1. Support for Variant is added 
in Iceberg v3.
   
   Does that mean Parquet spec V1? Or how should I read that?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to