File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
contrib/pax_storage/src/cpp/access Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -443,6 +443,7 @@ const TupleTableSlotOps *PaxAccessMethod::SlotCallbacks(
443443
444444uint32 PaxAccessMethod::ScanFlags (Relation relation) {
445445 uint32 flags = 0 ;
446+ std::vector<int > minmax_columns;
446447#ifdef VEC_BUILD
447448 flags |= SCAN_SUPPORT_VECTORIZATION | SCAN_SUPPORT_COLUMN_ORIENTED_SCAN;
448449#else
@@ -452,6 +453,10 @@ uint32 PaxAccessMethod::ScanFlags(Relation relation) {
452453#if defined(USE_MANIFEST_API) && !defined(USE_PAX_CATALOG)
453454 flags |= SCAN_FORCE_BIG_WRITE_LOCK;
454455#endif
456+ minmax_columns = cbdb::GetMinMaxColumnIndexes (relation);
457+ if (!minmax_columns.empty ()) {
458+ flags |= SCAN_SUPPORT_RUNTIME_FILTER;
459+ }
455460
456461 return flags;
457462}
You can’t perform that action at this time.
0 commit comments