wypoon commented on a change in pull request #4256:
URL: https://github.com/apache/iceberg/pull/4256#discussion_r818234912
##########
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:
`setConf` is not a method of `Catalog`, it is a method of
`org.apache.hadoop.conf.Configurable`, which `HiveCatalog` also implements.
--
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]