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(
443
443
444
444
uint32 PaxAccessMethod::ScanFlags (Relation relation) {
445
445
uint32 flags = 0 ;
446
+ std::vector<int > minmax_columns;
446
447
#ifdef VEC_BUILD
447
448
flags |= SCAN_SUPPORT_VECTORIZATION | SCAN_SUPPORT_COLUMN_ORIENTED_SCAN;
448
449
#else
@@ -452,6 +453,10 @@ uint32 PaxAccessMethod::ScanFlags(Relation relation) {
452
453
#if defined(USE_MANIFEST_API) && !defined(USE_PAX_CATALOG)
453
454
flags |= SCAN_FORCE_BIG_WRITE_LOCK;
454
455
#endif
456
+ minmax_columns = cbdb::GetMinMaxColumnIndexes (relation);
457
+ if (!minmax_columns.empty ()) {
458
+ flags |= SCAN_SUPPORT_RUNTIME_FILTER;
459
+ }
455
460
456
461
return flags;
457
462
}
You can’t perform that action at this time.
0 commit comments