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/03/01 04:35:47 UTC

[GitHub] [iceberg] allenzhg edited a comment on issue #2277: hive create external table for iceberg have error.

allenzhg edited a comment on issue #2277:
URL: https://github.com/apache/iceberg/issues/2277#issuecomment-787627901


   > * case
   
   1. hadoop_catalog does me created.
   building statement is :
   CREATE CATALOG hadoop_catalog WITH (
     'type'='iceberg',
     'catalog-type'='hadoop',
     'warehouse'='hdfs://usr/hive/warehouse/',
     'property-version'='1'
   );
   
   CREATE CATALOG hive_catalog WITH (
     'type'='iceberg',
     'catalog-type'='hive',
     'uri'='thrift://172.24.xxx:xxx'
     'clients'='20',
     'property-version'='1',
     'warehouse'='hdfs://usr/hive/warehouse/'
   );
   
   2. create same table for sample1 and have a same error.
    create table statement  in flink sql client:
   USE CATALOG hive_catalog;
   CREATE DATABASE iceberg_db;
   CREATE TABLE sample1(
       id BIGINT COMMENT 'unique id',
       data STRING
   );
   
   ![image](https://user-images.githubusercontent.com/20509543/109452395-9a6f6800-7a8a-11eb-9432-2599c0308e0c.png)
   
   
   thanks. 


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