Skip to content

Commit c70781b

Browse files
committed
PAX: reset row filter memory context to avoid OOM
Which would cause potential memory leak.
1 parent 233a755 commit c70781b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

contrib/pax_storage/src/cpp/storage/micro_partition_row_filter_reader.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ bool MicroPartitionRowFilterReader::TestRowScanInternal(TupleTableSlot *slot,
113113
auto econtext = ctx->econtext;
114114
econtext->ecxt_scantuple = slot;
115115

116+
ResetExprContext(econtext);
116117
return TestExecQual(estate, econtext);
117118
}
118119
} // namespace pax

0 commit comments

Comments
 (0)