zhuangchong commented on code in PR #1081:
URL: https://github.com/apache/incubator-paimon/pull/1081#discussion_r1186648545


##########
docs/content/how-to/creating-tables.md:
##########
@@ -415,23 +425,16 @@ val dataset = 
spark.read.format("paimon").load("hdfs://path/to/table")
 
 {{< tab "Hive" >}}
 
-* To access existing paimon table, you can also register them as external and 
internal tables in Hive. The following SQL creates an external table named 
`my_table`, where the base path of table files is `hdfs://path/to/table`. As 
schemas are stored in table files, users do not need to write column 
definitions.
+To access existing paimon table, you can also register them as external tables 
in Hive. The following SQL creates an
+external table named `my_table`, where the base path of table files is 
`hdfs://path/to/table`. As schemas are stored
+in table files, users do not need to write column definitions.
 
 ```sql
-CREATE EXTERNAL TABLE my_table
-STORED BY 'org.apache.paimon.hive.PaimonStorageHandler'
-LOCATION 'hdfs://path/to/table';
-```
+SET hive.metastore.warehouse.dir=warehouse_path;

Review Comment:
   No need to set `SET hive.metastore.warehouse.dir=warehouse_path` here.
   
   



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

Reply via email to