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/02/26 16:25:23 UTC

[GitHub] [iceberg] marton-bod commented on issue #2277: hive create external table for iceberg have error.

marton-bod commented on issue #2277:
URL: https://github.com/apache/iceberg/issues/2277#issuecomment-786749149


   @allenzhg Did you create the Iceberg table from Flink and then try to create a Hive table on top of it?
   You might want to reference this documentation: https://iceberg.apache.org/hive/, under the `Using Hadoop Catalog` section. A couple of things stand out:
   - `'iceberg.mr.catalog'='hadoop_catalog'` is not a valid catalog value, as Peter pointed out. Can you retry with `'iceberg.mr.catalog'='hadoop'`?
   - According to the docs, the table name you specify to the Hive DDL must match the table name of the Iceberg table. In this case, it seems that the Iceberg table is called `sample1`, whereas you are trying to create a Hive table called `sample2` on top of it.


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