duckdb / duckdb/duckdb-sqllogictest-python

Restart logic rewrite

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7
Forks
14
PR merge metrics
No merged PRs in 30d

Description

https://github.com/duckdb/duckdb-sqllogictest-python/blob/be27216725d4022aae9f89d3caaef655a049b82c/duckdb_sqllogictest/result.py#L1294

When a `restart` happens, the database is expected to keep the same settings when it restarts.

To facilitate this, we pre-emptively query and save all database settings after every statement.
So we can use this to set all the settings again after the database restarted.

In the C++ implementation we just copy the ClientConfig options struct and we're done.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.