From bfa63976e09df5ffd1dcc84fafcaf48479238cc4 Mon Sep 17 00:00:00 2001 From: vortex14 Date: Tue, 3 Sep 2024 11:47:55 +1000 Subject: [PATCH] fix: update column.go --- ch/chschema/column.go | 2 ++ 1 file changed, 2 insertions(+) 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: