change temp db dir
@@ -46,7 +46,7 @@ class DuckDBLinker(Linker):
else:
if connection == ":temporary:":
- tdir = tempfile.TemporaryDirectory()
+ tdir = tempfile.TemporaryDirectory(dir=".")
fname = uuid.uuid4().hex[:7]
path = os.path.join(tdir.name, f"{fname}.duckdb")
con = duckdb.connect(database=path, read_only=False)
