TangYan-1 opened a new issue #2927:
URL: https://github.com/apache/iceberg/issues/2927


   I've enabled iceberg.engine.hive.enabled=true in hive-site.xml.
   1. in spark sql, create iceberg tables with hive catalog
   spark3-shell --jars iceberg-spark3-runtime-0.11.1.jar \
   --conf 
spark.sql.catalog.spark_catalog=org.apache.iceberg.spark.SparkSessionCatalog \
   --conf spark.sql.catalog.spark_catalog.type=hive
   >  spark.sql("CREATE TABLE perftest.iceberg_table_hive_createdbyspark2 (id 
bigint, data string) USING iceberg")
   
   2. in beeline, select * from perftest.iceberg_table_hive_createdbyspark2;
   
   Errors:
   Error while compiling statement: FAILED: SemanticException Table does not 
exist at location: 
hdfs://nameservice1/user/hive/warehouse/perftest.db/iceberg_table_hive_createdbyspark2
   
   ![Uploading Screen Shot 2021-08-03 at 4.29.50 PM.png…]()
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to