dataproc-spark-connect 1.0.0rc7__py2.py3-none-any.whl → 1.0.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dataproc_spark_connect-1.0.0rc7.dist-info → dataproc_spark_connect-1.0.1.dist-info}/METADATA +2 -2
- {dataproc_spark_connect-1.0.0rc7.dist-info → dataproc_spark_connect-1.0.1.dist-info}/RECORD +6 -6
- google/cloud/dataproc_spark_connect/session.py +10 -0
- {dataproc_spark_connect-1.0.0rc7.dist-info → dataproc_spark_connect-1.0.1.dist-info}/WHEEL +0 -0
- {dataproc_spark_connect-1.0.0rc7.dist-info → dataproc_spark_connect-1.0.1.dist-info}/licenses/LICENSE +0 -0
- {dataproc_spark_connect-1.0.0rc7.dist-info → dataproc_spark_connect-1.0.1.dist-info}/top_level.txt +0 -0
{dataproc_spark_connect-1.0.0rc7.dist-info → dataproc_spark_connect-1.0.1.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dataproc-spark-connect
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: Dataproc client library for Spark Connect
|
|
5
5
|
Home-page: https://github.com/GoogleCloudDataproc/dataproc-spark-connect-python
|
|
6
6
|
Author: Google LLC
|
|
@@ -10,7 +10,7 @@ License-File: LICENSE
|
|
|
10
10
|
Requires-Dist: google-api-core>=2.19
|
|
11
11
|
Requires-Dist: google-cloud-dataproc>=5.18
|
|
12
12
|
Requires-Dist: packaging>=20.0
|
|
13
|
-
Requires-Dist: pyspark
|
|
13
|
+
Requires-Dist: pyspark[connect]~=4.0.0
|
|
14
14
|
Requires-Dist: tqdm>=4.67
|
|
15
15
|
Requires-Dist: websockets>=14.0
|
|
16
16
|
Dynamic: author
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
dataproc_spark_connect-1.0.
|
|
1
|
+
dataproc_spark_connect-1.0.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
2
2
|
google/cloud/dataproc_spark_connect/__init__.py,sha256=dIqHNWVWWrSuRf26x11kX5e9yMKSHCtmI_GBj1-FDdE,1101
|
|
3
3
|
google/cloud/dataproc_spark_connect/environment.py,sha256=o5WRKI1vyIaxZ8S2UhtDer6pdi4CXYRzI9Xdpq5hVkQ,2771
|
|
4
4
|
google/cloud/dataproc_spark_connect/exceptions.py,sha256=iwaHgNabcaxqquOpktGkOWKHMf8hgdPQJUgRnIbTXVs,970
|
|
5
5
|
google/cloud/dataproc_spark_connect/pypi_artifacts.py,sha256=gd-VMwiVP-EJuPp9Vf9Shx8pqps3oSKp0hBcSSZQS-A,1575
|
|
6
|
-
google/cloud/dataproc_spark_connect/session.py,sha256=
|
|
6
|
+
google/cloud/dataproc_spark_connect/session.py,sha256=loEpKA2ssA89EqT9gWphmfPsZwfHjayxd97J2avdQMc,55890
|
|
7
7
|
google/cloud/dataproc_spark_connect/client/__init__.py,sha256=6hCNSsgYlie6GuVpc5gjFsPnyeMTScTpXSPYqp1fplY,615
|
|
8
8
|
google/cloud/dataproc_spark_connect/client/core.py,sha256=GRc4OCTBvIvdagjxOPoDO22vLtt8xDSerdREMRDeUBY,4659
|
|
9
9
|
google/cloud/dataproc_spark_connect/client/proxy.py,sha256=qUZXvVY1yn934vE6nlO495XUZ53AUx9O74a9ozkGI9U,8976
|
|
10
|
-
dataproc_spark_connect-1.0.
|
|
11
|
-
dataproc_spark_connect-1.0.
|
|
12
|
-
dataproc_spark_connect-1.0.
|
|
13
|
-
dataproc_spark_connect-1.0.
|
|
10
|
+
dataproc_spark_connect-1.0.1.dist-info/METADATA,sha256=EubZvtsdEx04pokiRloTqqfohduAgM6sW5mTQ5Th4Ic,6840
|
|
11
|
+
dataproc_spark_connect-1.0.1.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
12
|
+
dataproc_spark_connect-1.0.1.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
|
|
13
|
+
dataproc_spark_connect-1.0.1.dist-info/RECORD,,
|
|
@@ -592,6 +592,16 @@ class DataprocSparkSession(SparkSession):
|
|
|
592
592
|
session = PySparkSQLSession.builder.getOrCreate()
|
|
593
593
|
return session # type: ignore
|
|
594
594
|
|
|
595
|
+
if self._project_id is None:
|
|
596
|
+
raise DataprocSparkConnectException(
|
|
597
|
+
f"Error while creating Dataproc Session: project ID is not set"
|
|
598
|
+
)
|
|
599
|
+
|
|
600
|
+
if self._region is None:
|
|
601
|
+
raise DataprocSparkConnectException(
|
|
602
|
+
f"Error while creating Dataproc Session: location is not set"
|
|
603
|
+
)
|
|
604
|
+
|
|
595
605
|
# Handle custom session ID by setting it early and letting existing logic handle it
|
|
596
606
|
if self._custom_session_id:
|
|
597
607
|
self._handle_custom_session_id()
|
|
File without changes
|
|
File without changes
|
{dataproc_spark_connect-1.0.0rc7.dist-info → dataproc_spark_connect-1.0.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|