We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51ede24 commit 54e2bddCopy full SHA for 54e2bdd
chdb/session_test.go
@@ -53,7 +53,9 @@ func TestSessionCleanup(t *testing.T) {
53
}
54
55
func TestQuery(t *testing.T) {
56
- session, _ := NewSession()
+ path := filepath.Join(os.TempDir(), "chdb_test")
57
+ defer os.RemoveAll(path)
58
+ session, _ := NewSession(path)
59
defer session.Cleanup()
60
61
session.Query("CREATE TABLE IF NOT EXISTS testtable (id UInt32) ENGINE = MergeTree() ORDER BY id;")
0 commit comments