Skip to content

Commit

Permalink
Merge branch 'main' into 99-launch-slave-mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
TianyuZhang1214 authored Oct 21, 2024
2 parents de3afcb + c088c9c commit 8f9bd61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions backend/loaddata.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func (db *DuckBuilder) executeLoadData(ctx *sql.Context, insert *plan.InsertInto

b.WriteString(", auto_detect = false")
b.WriteString(", header = false")
b.WriteString(", null_padding = true")

b.WriteString(", new_line = ")
if len(load.LinesTerminatedBy) == 1 {
Expand Down
1 change: 0 additions & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,6 @@ func TestLoadData(t *testing.T) {
harness := NewDefaultDuckHarness()
harness.QueriesToSkip(
"create table loadtable(pk int primary key, check (pk > 1))",
"create table loadtable(pk int primary key, c1 int)", // Table has more columns than import.
"CREATE TABLE test1 (pk BIGINT PRIMARY KEY, v1 BIGINT DEFAULT (v2 * 10), v2 BIGINT DEFAULT 5);",
"CREATE TABLE test1 (pk BIGINT PRIMARY KEY, v1 BIGINT DEFAULT (v2 * 10), v2 BIGINT DEFAULT 5);",
"CREATE TABLE inmate_population_snapshots (id char(21) NOT NULL, snapshot_date date NOT NULL, total int,"+
Expand Down

0 comments on commit 8f9bd61

Please sign in to comment.