From 1bd03755375d62ad60121967859ecfbc74627a09 Mon Sep 17 00:00:00 2001 From: zhangyue Date: Mon, 2 Mar 2026 14:22:51 +0800 Subject: [PATCH] Fix missing GUC_GPDB_NEED_SYNC for pax filter GUCs Add GUC_GPDB_NEED_SYNC flag to pax.enable_sparse_filter and pax.enable_row_filter so their values are dispatched from QD to QE segments. Without this flag, SET on the coordinator has no effect because scans run on QE segments. --- contrib/pax_storage/src/cpp/comm/guc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/pax_storage/src/cpp/comm/guc.cc b/contrib/pax_storage/src/cpp/comm/guc.cc index 8a6497d1db3..d07e9965431 100644 --- a/contrib/pax_storage/src/cpp/comm/guc.cc +++ b/contrib/pax_storage/src/cpp/comm/guc.cc @@ -134,11 +134,11 @@ void DefineGUCs() { "enable pax filter, contains min/max and bloom " "filters for sparse filtering", NULL, &pax::pax_enable_sparse_filter, true, - PGC_USERSET, 0, NULL, NULL, NULL); + PGC_USERSET, GUC_GPDB_NEED_SYNC, NULL, NULL, NULL); DefineCustomBoolVariable("pax.enable_row_filter", "enable pax row filter", NULL, &pax::pax_enable_row_filter, false, - PGC_USERSET, 0, NULL, NULL, NULL); + PGC_USERSET, GUC_GPDB_NEED_SYNC, NULL, NULL, NULL); DefineCustomIntVariable( "pax.scan_reuse_buffer_size", "set the reuse buffer size", NULL,