deniskuzZ commented on code in PR #5628:
URL: https://github.com/apache/hive/pull/5628#discussion_r2142924146
##########
README.md:
##########
@@ -124,6 +124,54 @@ Upgrading from older versions of Hive
different database for your MetaStore you will need to provide
your own upgrade script.
+Using Iceberg REST catalog
+==========================
+To enable Apache Iceberg REST catalog usage add the followings in hive-site.xml
+
+ <property>
+ <name>iceberg.catalog</name>
+ <value>rest</value>
+ </property>
+ <property>
+ <name>iceberg.catalog.rest.type</name>
+ <value>rest</value>
+ </property>
+ <property>
+ <name>iceberg.catalog.rest.uri</name>
+ <value>{restServerUrl}</value>
+ </property>
+ <property>
+ <name>metastore.type</name>
Review Comment:
please rename to `connector.name`
````
connector.name=iceberg
````
String connectorName = hiveConf.get("connector.name", "hive") ;
CatalogType catalogType = CatalogType.valueOf(hiveConf.get(connectorName +
".catalog.type" , "hive_metastore"));
--
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]