You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading, a 'record' is initialized based on reflection, as is shown also in examples:
record:=make([]any, len(columnTypes), len(columnTypes)+recordExtraSpace)
// Have to initialize 'empty' values to write actual values tofori:=rangecolumnTypes {
record[i] =reflect.New(columnTypes[i].ScanType()).Interface()
}
rows.Scan(record...)
This will initialize Nullable columns such as Nullable(String) as double pointer **String type.
However when inserting this value in exactly the same format, this fails:
Issue description
When reading, a 'record' is initialized based on reflection, as is shown also in examples:
This will initialize
Nullable
columns such asNullable(String)
as double pointer**String
type.However when inserting this value in exactly the same format, this fails:
Which will throw an error indicating
**String
cannot be inserted asNullable(String)
Configuration
OS: Linux
Interface: Native
Driver version: 2.3.0
Go version: 1.19
ClickHouse Server version: 22.9+
The text was updated successfully, but these errors were encountered: