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 2020/12/09 07:31:45 UTC

[GitHub] [iceberg] GintokiYs commented on issue #1831: Hive: create and write iceberg by hive catalog using Spark, Hive client read no data

GintokiYs commented on issue #1831:
URL: https://github.com/apache/iceberg/issues/1831#issuecomment-741590563


   The property engine.hive.enabled needs to be set to true and added to the table properties when creating the Iceberg table.
   `    Map<String, String> tableProperties = new HashMap<String, String>();
       tableProperties.put(TableProperties.ENGINE_HIVE_ENABLED, "true"); //engine.hive.enabled=true
       catalog.createTable(tableId, schema, spec, tableProperties);
   `
   You can refer to the Using Hive Catalog module of this article
   https://iceberg.apache.org/hive/#using-hive-catalog


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org