Skip to content

Commit 42fb3e4

Browse files
build: upgrade duckdb to v1.4
1 parent d42897f commit 42fb3e4

5 files changed

Lines changed: 60 additions & 66 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ Below is a list of features that we would like to implement or have been request
4141
| Uplift to Python 3.11 | 0.2.0 | Yes |
4242
| Uplift Pyspark to 3.5 | 0.8.0 | Yes |
4343
| Allow DVE to run on Python 3.12+ | 0.8.0 | Yes |
44-
| Upgrade to Pydantic 2.0 | 0.9.0 | Yes |
44+
| Upgrade to Pydantic 2.0 | 0.9.0 | Yes |
45+
| Upgrade DuckDB to v1.4 | 0.10.0 | Yes |
4546
| Uplift Pyspark to 4.0+ | TBA | No |
4647
| Polars upgrade to v1+ | TBA | No |
4748
| DuckDB upgrade to v1.5+ | TBA | No |

docs/user_guidance/install.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,12 @@ Once you have installed the DVE you are almost ready to use it. To be able to ru
7878

7979
## DVE Version Compatability Matrix
8080

81-
| DVE Version | Python Version | DuckDB Version | Spark Version | Pydantic Version |
82-
| ------------ | -------------- | -------------- | --------------- | ---------------- |
83-
| >=0.9.0 | >=3.10,<3.13 | 1.1.3 | >=3.5.0,<=3.5.5 | 2.13.4 |
84-
| >=0.8.0 | >=3.10,<3.13 | 1.1.3 | 3.5.2 | 1.10.19 |
85-
| >=0.7.2 | >=3.10,<3.12 | 1.1.* | 3.4.* | 1.10.16 |
86-
| >=0.6 | >=3.10,<3.12 | 1.1.* | 3.4.* | 1.10.15 |
87-
| >=0.2,<0.6 | >=3.10,<3.12 | 1.1.0 | 3.4.4 | 1.10.15 |
88-
| 0.1 | >=3.7.2,<3.8 | 1.1.0 | 3.2.1 | 1.10.15 |
81+
| DVE Version | Python Version | DuckDB Version | Spark Version | Pydantic Version |
82+
| ------------ | -------------- | ---------------- | --------------- | ---------------- |
83+
| >=0.10.0 | >=3.10,<1.13 | __>=1.4,<1.4.5__ | >=3.5.0,<=3.5.5 | 2.13.4 |
84+
| >=0.9.0 | >=3.10,<3.13 | 1.1.3 | >=3.5.0,<=3.5.5 | __2.13.4__ |
85+
| >=0.8.0 | >=3.10,<3.13 | __1.1.3__ | __3.5.2__ | 1.10.19 |
86+
| >=0.7.2 | >=3.10,<3.12 | 1.1.* | 3.4.* | __1.10.16__ |
87+
| >=0.6 | >=3.10,<3.12 | __1.1.*__ | __3.4.*__ | 1.10.15 |
88+
| >=0.2,<0.6 | __>=3.10,<3.12__ | 1.1.0 | 3.4.4 | 1.10.15 |
89+
| 0.1 | >=3.7.2,<3.8 | 1.1.0 | 3.2.1 | 1.10.15 |

poetry.lock

Lines changed: 47 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ python = ">=3.10,<3.13" # breaking changes beyond 3.12
3535
boto3 = ">=1.34.162,<1.36" # breaking change beyond 1.36
3636
botocore = ">=1.34.162,<1.36" # breaking change beyond 1.36
3737
delta-spark = ">=3.0.0,<=3.2.0"
38-
duckdb = "1.1.3" # breaking changes beyond 1.1
38+
duckdb = ">=1.4,<1.4.5"
3939
Jinja2 = "3.1.6"
4040
lxml = "6.1.1"
4141
numpy = "1.26.4"

src/dve/core_engine/backends/implementations/duckdb/rules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def join_header(self, entities: DuckDBEntities, *, config: HeaderJoin) -> Messag
364364
),
365365
)
366366

367-
target_schema = DDBStruct(dict(zip(target_rel.columns, target_rel.dtypes)))()
367+
target_schema = DDBStruct(dict(zip(target_rel.columns, target_rel.dtypes)))() # type: ignore # pylint:disable=C0301
368368

369369
joined_rel = source_rel.select(
370370
StarExpression(exclude=[]),

0 commit comments

Comments
 (0)