mrendi29 opened a new issue, #19072:
URL: https://github.com/apache/iceberg/issues/19072

   ### Apache Iceberg version
   
   1.12.0 (latest release)
   
   ### Query engine
   
   Spark
   
   ### Please describe the bug 🐞
   
   This is a follow up on https://github.com/apache/iceberg/issues/15220
   We tried creating a table with VARIANT using a HMS 3.0 and we got this error 
message:
   
   `org.apache.iceberg.exceptions.ValidationException: Invalid hive object for 
<table>`
   `Caused by: InvalidObjectException(message: Invalid column type: unknown)`
   
   I had a chat with @nssalian about this as well and apparently its because 
HMS validates the column types on the server. 
   
   Question: What should Iceberg send to older HMS for variant columns? Should 
we go with "binary" ? Or should we perhaps add a 
`hive.metastore.variant-supported` catalog config to use "binary" when enabled 
and "variant" otherwise? 
   
   cc @pvary  @RussellSpitzer  
   
   ### 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: [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]

Reply via email to