spark-utils 2.0.2__tar.gz → 2.0.3__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.
- {spark_utils-2.0.2 → spark_utils-2.0.3}/PKG-INFO +1 -1
- {spark_utils-2.0.2 → spark_utils-2.0.3}/pyproject.toml +1 -1
- spark_utils-2.0.3/spark_utils/_version.py +1 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/common/spark_session_provider.py +4 -1
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/models/iceberg_rest_config.py +2 -0
- spark_utils-2.0.2/spark_utils/_version.py +0 -1
- {spark_utils-2.0.2 → spark_utils-2.0.3}/LICENSE +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/README.md +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/__init__.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/common/__init__.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/common/functions.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/common/spark_job_args.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/common/spark_sql_utils.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/common/spark_udf.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/dataframes/__init__.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/dataframes/functions.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/dataframes/models.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/dataframes/sets/__init__.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/dataframes/sets/functions.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/delta_lake/__init__.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/delta_lake/delta_log.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/delta_lake/functions.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/models/__init__.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/models/delta_lake_config.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/models/hive_metastore_config.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/models/hive_table.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/models/job_socket.py +0 -0
- {spark_utils-2.0.2 → spark_utils-2.0.3}/spark_utils/models/k8s_config.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '2.0.3'
|
|
@@ -131,8 +131,11 @@ class SparkSessionProvider:
|
|
|
131
131
|
)
|
|
132
132
|
.config(f"spark.sql.catalog.{config.catalog_alias}.oauth2-server-uri", config.oauth2_uri)
|
|
133
133
|
.config(f"spark.sql.catalog.{config.catalog_alias}.scope", config.scope)
|
|
134
|
+
.config(
|
|
135
|
+
f"spark.sql.catalog.{config.catalog_alias}.token-exchange-enabled",
|
|
136
|
+
str(config.token_exchange_enabled).lower(),
|
|
137
|
+
)
|
|
134
138
|
)
|
|
135
|
-
|
|
136
139
|
return self
|
|
137
140
|
|
|
138
141
|
def with_delta_lake(self, config: DeltaLakeConfig) -> Self:
|
|
@@ -37,6 +37,8 @@ class IcebergRestConfig:
|
|
|
37
37
|
scope: str | None = None
|
|
38
38
|
client_id: str | None = None
|
|
39
39
|
client_secret: str | None = None
|
|
40
|
+
# rely on client-credentials fallback by default
|
|
41
|
+
token_exchange_enabled: bool = False
|
|
40
42
|
|
|
41
43
|
version: str = "org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.10.0"
|
|
42
44
|
s3_version: str = "org.apache.iceberg:iceberg-aws-bundle:1.10.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '2.0.2'
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|