Bug Report
|
MutablePtr cloneFullColumn() const |
|
{ |
|
MutablePtr res = clone(); |
|
res->forEachSubcolumn([](Ptr & subcolumn) { subcolumn = subcolumn->clone(); }); |
|
return res; |
|
} |
cloneFullColumn only clones the first-level subcolumn so the inner column data will be shared if the column has subcolumns at second and higher levels. For instance, ColumnNullable(ColumnArray(ColumnVector))).