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/09/10 07:49:37 UTC
[GitHub] [iceberg] deepeye commented on issue #3092: hive shell can not read iceberg table created by flink sql shell ?
deepeye commented on issue #3092:
URL: https://github.com/apache/iceberg/issues/3092#issuecomment-916705074
> @deepeye: Could you please provide the following information:
>
> * Iceberg version
> * Hive version
> * Query you are using for testing
> * Execution engine (MR/Tez)
> * Output of the `SHOW CREATE TABLE` command
>
> Thanks,
> Peter
Iceberg master(0.12) + aliyun oss
Hive2.3.6
SELECT * FROM sample;
Execution engine: mr
```
hive (oss_db)> show create table sample;
OK
createtab_stmt
CREATE EXTERNAL TABLE `sample`(
`id` bigint,
`data` string)
ROW FORMAT SERDE
'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
STORED AS INPUTFORMAT
'org.apache.hadoop.mapred.FileInputFormat'
OUTPUTFORMAT
'org.apache.hadoop.mapred.FileOutputFormat'
LOCATION
'oss://{bucket}/iceberg/warehouse/oss_db.db/sample'
TBLPROPERTIES (
'metadata_location'='oss://{bucket}/iceberg/warehouse/oss_db.db/sample/metadata/00004-1791baa2-2703-40f2-9fda-fdf7442927cf.metadata.json',
'previous_metadata_location'='oss://{bucket}/iceberg/warehouse/oss_db.db/sample/metadata/00003-add0c7f9-a5b6-4de4-be76-19481d0420d0.metadata.json',
'table_type'='ICEBERG',
'transient_lastDdlTime'='1629797472')
Time taken: 0.761 seconds, Fetched: 16 row(s)
```
--
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