You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "MoveLiu (via GitHub)" <gi...@apache.org> on 2023/08/29 09:33:35 UTC

[GitHub] [iceberg] MoveLiu opened a new issue, #8417: Flink Iceberg

MoveLiu opened a new issue, #8417:
URL: https://github.com/apache/iceberg/issues/8417

   ### Query engine
   
   I have a question. 
   set iceberg.catalog.hadoop.type = hadoop;
   set iceberg.catalog.hadoop.warehouse = hdfs://192.168.221.140:8020/tmp/sebu;
   CREATE database if not exists iceberg_hadoop_sebu;
   drop table if exists iceberg_hadoop_sebu.ods_sn_gate_data_original;
   create external table iceberg_hadoop_sebu.ods_sn_gate_data_original
   (
     sn      STRING COMMENT '设备编号',
     gate    STRING COMMENT '网关',
     source  STRING COMMENT '数据源',
     tp      BIGINT COMMENT '设备上报时间戳',
     ctp     BIGINT COMMENT '收集时间戳',
     atp     BIGINT COMMENT '抵达时间戳',
     content STRING COMMENT '详细内容'
   )
   PARTITIONED BY
   (
     ds string,
     hr string
   )
   stored by 'org.apache.iceberg.mr.hive.HiveIcebergStorageHandler'
   location  'hdfs://192.168.221.140:8020/tmp/sebu/iceberg_hadoop_sebu/ods_sn_gate_data_original'
   tblproperties ('iceberg.catalog' = 'hadoop',
   'write.metadata.previous-versions-max' = '200',
   'write.metadata.delete-after-commit.enabled' = 'true',
   'write.distribution-mode' = 'none');
   
   This is my iceberg table ,but i can not read it on flink-sql;
   
   ### Question
   
   I have a question. 
   set iceberg.catalog.hadoop.type = hadoop;
   set iceberg.catalog.hadoop.warehouse = hdfs://192.168.221.140:8020/tmp/sebu;
   CREATE database if not exists iceberg_hadoop_sebu;
   drop table if exists iceberg_hadoop_sebu.ods_sn_gate_data_original;
   create external table iceberg_hadoop_sebu.ods_sn_gate_data_original
   (
     sn      STRING COMMENT '设备编号',
     gate    STRING COMMENT '网关',
     source  STRING COMMENT '数据源',
     tp      BIGINT COMMENT '设备上报时间戳',
     ctp     BIGINT COMMENT '收集时间戳',
     atp     BIGINT COMMENT '抵达时间戳',
     content STRING COMMENT '详细内容'
   )
   PARTITIONED BY
   (
     ds string,
     hr string
   )
   stored by 'org.apache.iceberg.mr.hive.HiveIcebergStorageHandler'
   location  'hdfs://192.168.221.140:8020/tmp/sebu/iceberg_hadoop_sebu/ods_sn_gate_data_original'
   tblproperties ('iceberg.catalog' = 'hadoop',
   'write.metadata.previous-versions-max' = '200',
   'write.metadata.delete-after-commit.enabled' = 'true',
   'write.distribution-mode' = 'none');
   
   This is my iceberg table ,but i can not read it on flink-sql;


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


Re: [I] Flink Iceberg [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8417:
URL: https://github.com/apache/iceberg/issues/8417#issuecomment-2350730702

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


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