Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/chdb.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: chDB-go

on:
pull_request:
branches: [ "main" ]
paths-ignore:
- '**/.md'
push:
branches: [ "main" ]
paths-ignore:
Expand Down
2 changes: 2 additions & 0 deletions chdb/driver/driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ func TestQueryRow(t *testing.T) {
t.Fatalf("new session fail, err: %s", err)
}
defer session.Cleanup()
session.Query("CREATE DATABASE IF NOT EXISTS testdb; " +
"CREATE TABLE IF NOT EXISTS testdb.testtable (id UInt32) ENGINE = MergeTree() ORDER BY id;")

session.Query("USE testdb; INSERT INTO testtable VALUES (1), (2), (3);")

Expand Down