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

   <!--
   Thanks for opening a pull request!
   -->
   
   <!-- In the case this PR will resolve an issue, please replace 
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
   <!-- Closes #${GITHUB_ISSUE_ID} -->
   
   # Rationale for this change
   Add `make notebook` to spin up a jupyter notebook
   
   With spark connect (#2491) and our testing setup, we can quickly spin up a 
local env with 
   * spark
   * iceberg rest catalog
   * hive metastore
   * minio
   
   ```
   make test-integration-exec
   make notebook
   ```
   
   in the jupyter notebook, connect to spark easily
   ```
   from pyspark.sql import SparkSession
   
   # Create SparkSession against the remote Spark Connect server
   spark = SparkSession.builder.remote("sc://localhost:15002").getOrCreate()
   spark.sql("SHOW CATALOGS").show()
   ```
   
   ## Are these changes tested?
   
   ## Are there any user-facing changes?
   
   <!-- In the case of user-facing changes, please add the changelog label. -->
   


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