kevinjqliu opened a new pull request, #11845:
URL: https://github.com/apache/iceberg/pull/11845

   Closes #11284
   This PR replaces examples of Hadoop catalog with the JDBC catalog 
   
   [devlist 
discussion](https://lists.apache.org/thread/2too7vobf4f4h99qonbl2ok06slsww43)
   
   ## Testing
   ### `spark-quickstart.md`
   With `spark-sql` CLI config:
   ```
       spark-sql --packages 
org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:{{ icebergVersion 
}},org.xerial:sqlite-jdbc:3.46.1.3 \
           --conf 
spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions
 \
           --conf 
spark.sql.catalog.spark_catalog=org.apache.iceberg.spark.SparkSessionCatalog \
           --conf spark.sql.catalog.spark_catalog.type=hive \
           --conf spark.sql.catalog.local=org.apache.iceberg.spark.SparkCatalog 
\
           --conf spark.sql.catalog.local.type=jdbc \
           --conf 
spark.sql.catalog.local.uri=jdbc:sqlite:$PWD/iceberg_catalog_db.sqlite \
           --conf spark.sql.catalog.local.warehouse=$PWD/warehouse \
           --conf spark.sql.defaultCatalog=local
   ```
   
   With `spark-defaults.conf` file:
   ```
   spark-sql --properties-file ./spark-defaults.conf
   ```


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to