diff --git a/velox/expression/EvalCtx.h b/velox/expression/EvalCtx.h index e544a2e84bcf..6f0d2e2d9718 100644 --- a/velox/expression/EvalCtx.h +++ b/velox/expression/EvalCtx.h @@ -524,8 +524,9 @@ class EvalCtx { const SelectivityVector& rows, const TypePtr& type, VectorPtr& result) { - BaseVector::ensureWritable( - rows, type, execCtx_->pool(), result, execCtx_->vectorPool()); + BaseVector::ensureWritable(rows, type, execCtx_->pool(), result, nullptr); + // BaseVector::ensureWritable( + // rows, type, execCtx_->pool(), result, execCtx_->vectorPool()); } PeeledEncoding* getPeeledEncoding() {