You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "Mukvin (via GitHub)" <gi...@apache.org> on 2026/07/28 13:05:34 UTC
[I] Hive: Align VARIANT type mapping with Hive 4.2 support (HIVE-29184) [iceberg]
Mukvin opened a new issue, #17396:
URL: https://github.com/apache/iceberg/issues/17396
### Apache Iceberg version
1.11.0 (latest release)
### Query engine
Spark
### Please describe the bug 🐞
Hive 4.2 introduced basic VARIANT support via HIVE-29184, but Iceberg's
`HiveSchemaUtil` still maps Iceberg `VARIANT` to `"unknown"`.
## Problem
- Current mapping in `HiveSchemaUtil.convertToTypeString` returns `"unknown"` for Iceberg `VARIANT`.
- This diverges from Hive 4.2 capability and from user expectation in Hive environments where VARIANT is supported.
## Proposal
- Update Hive schema conversion for Iceberg `VARIANT` to return `"variant"`.
- Update unit tests accordingly.
## Scope
- `hive-metastore` schema conversion only.
- No change to non-VARIANT mappings.
## References
- HIVE-29184: Iceberg: Basic Variant type support in Hive (#6069)
- Iceberg PR #15228 / #15964 historical discussion
### Willingness to contribute
- [x] I can contribute a fix for this bug independently
- [x] I would be willing to contribute a fix for this bug with guidance from the Iceberg community
- [ ] I cannot contribute a fix for this bug at this time
--
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-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Hive: Align VARIANT type mapping with Hive 4.2 support (HIVE-29184) [iceberg]
Posted by "RussellSpitzer (via GitHub)" <gi...@apache.org>.
RussellSpitzer commented on issue #17396:
URL: https://github.com/apache/iceberg/issues/17396#issuecomment-5106510372
I wouldn't consider this a bug :) since we did design it to do this. But we should definitely do the fix
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Hive: Align VARIANT type mapping with Hive 4.2 support (HIVE-29184) [iceberg]
Posted by "Mukvin (via GitHub)" <gi...@apache.org>.
Mukvin commented on issue #17396:
URL: https://github.com/apache/iceberg/issues/17396#issuecomment-5111977173
Ok, thx for your reply, I will close this issue.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Hive: Align VARIANT type mapping with Hive 4.2 support (HIVE-29184) [iceberg]
Posted by "Mukvin (via GitHub)" <gi...@apache.org>.
Mukvin closed issue #17396: Hive: Align VARIANT type mapping with Hive 4.2 support (HIVE-29184)
URL: https://github.com/apache/iceberg/issues/17396
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org