aimenglin commented on issue #2686:
URL: https://github.com/apache/iceberg/issues/2686#issuecomment-858081373
@marton-bod Thanks for the response! Below are the queries and results:
```
$ hive
Hive Session ID = 01b4eccd-aae9-4cef-ae72-c1949f69a785
Logging initialized using configuration in
file:/etc/hive/conf.dist/hive-log4j2.properties Async: true
Hive Session ID = b0f1c211-25a6-4ebd-85db-28c73431263f
hive> add jar /home/shenme_google_com/iceberg-hive-runtime.jar;
Added [/home/shenme_google_com/iceberg-hive-runtime.jar] to class path
Added resources: [/home/shenme_google_com/iceberg-hive-runtime.jar]
hive> set iceberg.engine.hive.enabled=true;
hive> set engine.hive.enabled=true;
hive> set iceberg.mr.catalog=hive;
hive> describe formatted testhive;
OK
# col_name data_type comment
id int
# Detailed Table Information
Database: default
OwnerType: USER
Owner: shenme_google_com
CreateTime: Sun Jun 06 23:13:31 UTC 2021
LastAccessTime: Fri Dec 26 11:39:34 UTC 1969
Retention: 2147483647
Location:
gs://gcs-bucket-shenme-test-service-7f1dbd01-5cc9-4393-a54a-e9c2b9c9/hive-warehouse/testhive
Table Type: EXTERNAL_TABLE
Table Parameters:
EXTERNAL TRUE
metadata_location
gs://gcs-bucket-shenme-test-service-7f1dbd01-5cc9-4393-a54a-e9c2b9c9/hive-warehouse/testhive/
metadata/00001-88fe51b7-ff5b-45ab-80e6-57ef3defef20.metadata.json
numFiles 1
previous_metadata_location
gs://gcs-bucket-shenme-test-service-7f1dbd01-5cc9-4393-a54a-e9c2b9c9/hive-warehouse/t
esthive/metadata/00000-145b061d-8bc7-4ea0-b997-05bd1c21fa92.metadata.json
table_type ICEBERG
totalSize 956
transient_lastDdlTime 1623021211
# Storage Information
SerDe Library: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
InputFormat: org.apache.hadoop.mapred.FileInputFormat
OutputFormat: org.apache.hadoop.mapred.FileOutputFormat
Compressed: No
Num Buckets: 0
Bucket Columns: []
Sort Columns: []
Time taken: 1.068 seconds, Fetched: 29 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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]