adiranjan25 opened a new pull request, #19077: URL: https://github.com/apache/iceberg/pull/19077
Fixes #19072 ### Problem Older Hive Metastore versions reject the `unknown` column type currently used for Iceberg `VARIANT` fields. This prevents table creation when using affected HMS versions. ### Solution Change the Hive schema representation of `VARIANT` from `unknown` to `binary`, which is a recognized Hive column type. The Iceberg table schema remains authoritative, preserving the logical `VARIANT` type in Iceberg metadata. ### Validation - Verified that the updated regression test fails before the production change and passes afterward. - Passed `TestHiveSchemaUtil`. - Passed `TestHiveCatalog` twice. - Passed `spotlessApply` and `git diff --check`. ### Additional verification Testing against the specific older HMS version reported in the issue remains outstanding. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
