dataproc-spark-connect 1.0.0rc7__tar.gz → 1.0.1__tar.gz
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 → dataproc_spark_connect-1.0.1}/PKG-INFO +2 -2
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/dataproc_spark_connect.egg-info/PKG-INFO +2 -2
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/dataproc_spark_connect.egg-info/requires.txt +1 -1
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/google/cloud/dataproc_spark_connect/session.py +10 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/setup.py +2 -2
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/LICENSE +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/README.md +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/dataproc_spark_connect.egg-info/SOURCES.txt +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/dataproc_spark_connect.egg-info/dependency_links.txt +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/dataproc_spark_connect.egg-info/top_level.txt +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/google/cloud/dataproc_spark_connect/__init__.py +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/google/cloud/dataproc_spark_connect/client/__init__.py +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/google/cloud/dataproc_spark_connect/client/core.py +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/google/cloud/dataproc_spark_connect/client/proxy.py +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/google/cloud/dataproc_spark_connect/environment.py +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/google/cloud/dataproc_spark_connect/exceptions.py +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/google/cloud/dataproc_spark_connect/pypi_artifacts.py +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/pyproject.toml +0 -0
- {dataproc_spark_connect-1.0.0rc7 → dataproc_spark_connect-1.0.1}/setup.cfg +0 -0
|
@@ -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,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
|
|
@@ -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()
|
|
@@ -20,7 +20,7 @@ long_description = (this_directory / "README.md").read_text()
|
|
|
20
20
|
|
|
21
21
|
setup(
|
|
22
22
|
name="dataproc-spark-connect",
|
|
23
|
-
version="1.0.
|
|
23
|
+
version="1.0.1",
|
|
24
24
|
description="Dataproc client library for Spark Connect",
|
|
25
25
|
long_description=long_description,
|
|
26
26
|
author="Google LLC",
|
|
@@ -31,7 +31,7 @@ setup(
|
|
|
31
31
|
"google-api-core>=2.19",
|
|
32
32
|
"google-cloud-dataproc>=5.18",
|
|
33
33
|
"packaging>=20.0",
|
|
34
|
-
"pyspark
|
|
34
|
+
"pyspark[connect]~=4.0.0",
|
|
35
35
|
"tqdm>=4.67",
|
|
36
36
|
"websockets>=14.0",
|
|
37
37
|
],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|