We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80b5c26 commit b3756fcCopy full SHA for b3756fc
1 file changed
tests/core/engine_adapter/test_duckdb.py
@@ -1,6 +1,5 @@
1
import typing as t
2
3
-import os
4
import pandas as pd # noqa: TID253
5
import pytest
6
from pytest_mock.plugin import MockerFixture
@@ -110,12 +109,13 @@ def test_drop_catalog(make_mocked_engine_adapter: t.Callable) -> None:
110
109
111
112
def test_ducklake_partitioning(adapter: EngineAdapter, duck_conn, tmp_path):
113
- os.chdir(tmp_path)
114
catalog = "a_ducklake_db"
115
116
duck_conn.install_extension("ducklake")
117
duck_conn.load_extension("ducklake")
118
- duck_conn.execute(f"ATTACH 'ducklake:{catalog}';")
+ duck_conn.execute(
+ f"ATTACH 'ducklake:{catalog}.ducklake' AS {catalog} (DATA_PATH '{tmp_path}');"
+ )
119
120
# no partitions on catalog creation
121
partition_info = duck_conn.execute(
0 commit comments