diff --git a/pkg/sql/distsqlrun/columnar_utils_test.go b/pkg/sql/distsqlrun/columnar_utils_test.go index d81718313522..378a635071bd 100644 --- a/pkg/sql/distsqlrun/columnar_utils_test.go +++ b/pkg/sql/distsqlrun/columnar_utils_test.go @@ -134,8 +134,8 @@ func verifyColOperator( if anyOrder { // We accumulate all the rows to be matched using set comparison when // both "producers" are done. - procRows = append(procRows, rowProc) - colOpRows = append(colOpRows, rowColOp) + procRows = append(procRows, rowProc.Copy()) + colOpRows = append(colOpRows, rowColOp.Copy()) } else { // anyOrder is false, so the result rows must match in the same order. expStr := rowProc.String(outputTypes)