RussellSpitzer commented on issue #2576:
URL: https://github.com/apache/iceberg/issues/2576#issuecomment-836816786


   Copying @marton-bod 's Email from the Dev Mailing list for future lookup
   
   > 
   > Hi,
   > 
   > Thanks for reaching out! Unfortunately insert overwrite commands are not 
currently supported by the Hive engine in upstream Iceberg, since it's a 
feature difficult to implement without touching the Hive codebase as well. 
Currently we only have support for regular insert queries (using the mr engine, 
not tez).
   > 
   > We have recently created a new module in upstream Hive called 
"hive-iceberg-handler", which is supposed to be an alternative over time to 
using the iceberg-hive-runtime jar, providing an extended feature set and 
performance improvements. Support for insert overwrites has already been 
implemented there. Please note the module is still experimental and some of 
these newer features would require you to run Hive from the master branch due 
to core Hive API changes, but it might be a good candidate for experimentation. 
Here's the link for the module if you'd like to check out our ongoing work: 
https://github.com/apache/hive/tree/master/iceberg/iceberg-handler
   > 
   > As for the specific error message you're getting, it's because the HMS by 
design sees the Iceberg table as unpartitioned (to enable flexible partitioning 
down the line and due to how the Hive query planner works), even though the 
underlying Iceberg table is actually partitioned - hence the upstream error 
during the compilation phase.
   > 
   > Best,
   > Marton


-- 
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.

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