Issue description
Altering table to add a new column causes an error
[AppendStruct]: missing destination name "<column_name>" in <struct_name>"
even if I've specified a default value for the column.
Perhaps checking that column has a default value here might solve the issue.
|
if !found { |
|
return nil, &OpError{ |
|
Op: op, |
|
Err: fmt.Errorf("missing destination name %q in %T", name, s), |
|
} |
|
} |
Configuration
OS: unrelated
Interface: E.g. native
Driver version: v2.0.12
Go version: unrelated
ClickHouse Server version: 20.10.6.27
Issue description
Altering table to add a new column causes an error
even if I've specified a default value for the column.
Perhaps checking that column has a default value here might solve the issue.
clickhouse-go/struct_map.go
Lines 69 to 74 in ee79713
Configuration
OS: unrelated
Interface: E.g.
nativeDriver version: v2.0.12
Go version: unrelated
ClickHouse Server version: 20.10.6.27