diff --git a/ch/chschema/column.go b/ch/chschema/column.go index 735540d..00a8eaf 100644 --- a/ch/chschema/column.go +++ b/ch/chschema/column.go @@ -142,6 +142,8 @@ func (c NumericColumnOf[T]) ConvertAssign(idx int, v reflect.Value) error { func (c BoolColumn) ConvertAssign(idx int, v reflect.Value) error { switch v.Kind() { + case reflect.Ptr: + v.Set(reflect.ValueOf(&c.Column[idx])) case reflect.Bool: v.SetBool(c.Column[idx]) default: