kbendick commented on a change in pull request #4256:
URL: https://github.com/apache/iceberg/pull/4256#discussion_r818877096



##########
File path: docs/versioned/api/java-api-quickstart.md
##########
@@ -39,7 +39,7 @@ You can initialize a Hive catalog with a name and some 
properties.
 ```java
 import org.apache.iceberg.hive.HiveCatalog;
 
-Catalog catalog = new HiveCatalog();
+HiveCatalog catalog = new HiveCatalog();
 catalog.setConf(spark.sparkContext().hadoopConfiguration());  // Configure 
using Spark's Hadoop configuration

Review comment:
       As an alternative idea, would it make sense to import `Catalog` as well 
and then cast it to `Configurable` later when we `setConfig`? That might be too 
much for a simple quickstart though.




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