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 2022/06/27 11:14:48 UTC

[GitHub] [iceberg] HamaWhiteGG commented on issue #2686: Read Iceberg Table via Hive: Hadoop Tables Succeed. Hive Catalog Failed. Anyone met the errors before?

HamaWhiteGG commented on issue #2686:
URL: https://github.com/apache/iceberg/issues/2686#issuecomment-1167222270

   @marton-bod thanks,  add  'engine.hive.enabled' = 'true'   can solved the problem.
   
     execute("CREATE TABLE IF NOT EXISTS  flink_iceberg_table ( " +
                   "       id                  BIGINT                          ," +
                   "       data                STRING                           " +
                   ") WITH ( " +
                   "       'connector' = 'iceberg'                             ," +
                   "       'catalog-name' = 'iceberg'                          ," +
                   "       'catalog-type' = 'hive'                             ," +
                   "       'catalog-database' = 'flink_demo'                   ," +
                   "       'catalog-table' = 'iceberg_table'                   ," +
                   "       'uri' = 'thrift://192.168.90.150:9083'              ," +
                   "       'engine.hive.enabled' = 'true'                      ," +
                   "       'warehouse' = '" + WAREHOUSE + "'                    " +
                   ")"
           );
   


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