[
https://issues.apache.org/jira/browse/HIVE-29183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denys Kuzmenko updated HIVE-29183:
----------------------------------
Component/s: Hive
Iceberg integration
> Integrating Variant Type into Hive
> ----------------------------------
>
> Key: HIVE-29183
> URL: https://issues.apache.org/jira/browse/HIVE-29183
> Project: Hive
> Issue Type: New Feature
> Components: Hive, Iceberg integration
> Reporter: Denys Kuzmenko
> Priority: Major
>
> 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, with support currently available for V1. Support for Variant is
> added in Iceberg v3.
> Variants are similar to JSON with a wider set of primitive values including
> date, timestamp, timestamptz, binary, and decimals.
> Variant values may contain nested types:
> An array is an ordered collection of variant values.
> An object is a collection of fields that are a string key and a variant value.
> As a semi-structured type, there are important differences between variant
> and Iceberg's other types:
> Variant arrays are similar to lists, but may contain any variant value rather
> than a fixed element type.
> Variant objects are similar to structs, but may contain variable fields
> identified by name and field values may be any variant value rather than a
> fixed field type.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)