Skip to content

Commit 7a5fd4e

Browse files
committed
fix wrapper_test
1 parent f54b767 commit 7a5fd4e

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

chdb/wrapper_test.go

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,17 @@ func TestQueryToBuffer(t *testing.T) {
3333
},
3434
// Session
3535
{
36-
name: "Session Query 1",
37-
queryStr: "CREATE DATABASE IF NOT EXISTS testdb; " +
38-
"CREATE TABLE IF NOT EXISTS testdb.testtable (id UInt32) ENGINE = MergeTree() ORDER BY id;",
36+
name: "Session Query 1",
37+
queryStr: "CREATE DATABASE IF NOT EXISTS testdb; ",
38+
outputFormat: "CSV",
39+
40+
udfPath: "",
41+
expectedErrMsg: "",
42+
expectedResult: "",
43+
},
44+
{
45+
name: "Session Query 1 bis",
46+
queryStr: "CREATE TABLE IF NOT EXISTS testdb.testtable (id UInt32) ENGINE = MergeTree() ORDER BY id;",
3947
outputFormat: "CSV",
4048

4149
udfPath: "",

0 commit comments

Comments
 (0)