We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9785e78 commit 68f9217Copy full SHA for 68f9217
contrib/pax_storage/src/cpp/access/pax_access_handle.cc
@@ -443,6 +443,7 @@ const TupleTableSlotOps *PaxAccessMethod::SlotCallbacks(
443
444
uint32 PaxAccessMethod::ScanFlags(Relation relation) {
445
uint32 flags = 0;
446
+ std::vector<int> minmax_columns;
447
#ifdef VEC_BUILD
448
flags |= SCAN_SUPPORT_VECTORIZATION | SCAN_SUPPORT_COLUMN_ORIENTED_SCAN;
449
#else
@@ -452,6 +453,10 @@ uint32 PaxAccessMethod::ScanFlags(Relation relation) {
452
453
#if defined(USE_MANIFEST_API) && !defined(USE_PAX_CATALOG)
454
flags |= SCAN_FORCE_BIG_WRITE_LOCK;
455
#endif
456
+ minmax_columns = cbdb::GetMinMaxColumnIndexes(relation);
457
+ if (!minmax_columns.empty()) {
458
+ flags |= SCAN_SUPPORT_RUNTIME_FILTER;
459
+ }
460
461
return flags;
462
}
0 commit comments