You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/09/10 22:23:01 UTC

[GitHub] [iceberg] kbendick commented on issue #3092: hive shell can not read iceberg table created by flink sql shell ?

kbendick commented on issue #3092:
URL: https://github.com/apache/iceberg/issues/3092#issuecomment-917248247


   It would be easy to set the table properties via spark (which I know isn't in play here).
   
   Maybe this is one of those cases where we (presently) creating tables in spark (or in hive) and then declaring them in Flink also?
   
   Can you try putting `engine.hive.enabled` in the `WITH` part of the Flink create table DDL? It might not be allowed as I think only known properties determined by Flink can go there, but might be worth a check.
   
   ```
   CREATE TABLE Sample (
     `id` BIGINT COMMENT 'unique id',
     `data` STRING
   ) WITH (
     -- not sure which of these two would be needed so possibly try both
     'engine.hive.enabled' = 'true',
     'iceberg.engine.hive.enabled' = 'true'
   )
   ```


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