diff --git a/service/clickhouse/clickhouse_service.go b/service/clickhouse/clickhouse_service.go index a942c3a9..5cbeb5c9 100644 --- a/service/clickhouse/clickhouse_service.go +++ b/service/clickhouse/clickhouse_service.go @@ -687,6 +687,9 @@ func (ck *CkService) QueryInfo(query string) ([][]interface{}, error) { for i := range columnPointers { val := reflect.ValueOf(columnPointers[i]).Elem() m[i] = val.Interface() + if val.CanSet() { + val.SetZero() + } } colData = append(colData, m)