Spark Connect adapter for Ocean Spark
Project description
ocean-sparkconnect
Wrapper to create Spark Connect session for Spark Applications in Ocean
from ocean_spark_connect.ocean_spark_session import OceanSparkSession
spark = OceanSparkSession.Builder().cluster_id("osc-cluster").appid("appid").profile("default").getOrCreate()
spark.sql("select random()").show()
spark.stop()
Options for OceanSparkSession.Builder with and without default values
In addition to the existing SparkSession.Builder option, the following options are available:
- token
- profile
- appid
- account_id
- cluster_id
- host = "api.spotinst.io"
- port = "15002"
- bind_address = "0.0.0.0"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ocean_sparkconnect-0.3.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 164deebed4f7a2d4eb7193313925a8183ed9d0edd62baff5778ba58687bc5b9f |
|
MD5 | 2651a960d3de1167c88771b619b70d28 |
|
BLAKE2b-256 | 1910c5189451cf78f836b2ccdd0b21b395ebfbff66589cd09c22de6f6254baeb |