Skip to content

Commit

Permalink
Fixing Spark session API (#2159)
Browse files Browse the repository at this point in the history
* Fixing Spark session API

* Fixed duckdb version to 1.0.0
  • Loading branch information
tombaeyens authored Sep 11, 2024
1 parent 8c42941 commit 0937aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion soda/contracts/soda/contracts/contract_verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def with_data_source_spark_session(
assert isinstance(spark_session, object)
assert isinstance(data_source_yaml_dict, dict)
data_source_yaml_file = YamlFile(logs=self.logs, yaml_dict=data_source_yaml_dict)
self.data_source_yaml_files.append(data_source_yaml_file)
self.data_source_yaml_file = data_source_yaml_file
self.spark_session = spark_session
return self

Expand Down
2 changes: 1 addition & 1 deletion soda/duckdb/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
package_version = "3.3.20"
description = "Soda Core Duckdb Package"

requires = [f"soda-core=={package_version}", "duckdb"]
requires = [f"soda-core=={package_version}", "duckdb==1.0.0"]

setup(
name=package_name,
Expand Down

0 comments on commit 0937aa0

Please sign in to comment.