This is an automated email from the ASF dual-hosted git repository.

avamingli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/main by this push:
     new cce58a899a4 Fix missing GUC_GPDB_NEED_SYNC for pax filter GUCs (#1590)
cce58a899a4 is described below

commit cce58a899a41072a751355283bca7b1ad50dcea0
Author: zhangyue <[email protected]>
AuthorDate: Mon Mar 2 17:53:10 2026 +0800

    Fix missing GUC_GPDB_NEED_SYNC for pax filter GUCs (#1590)
    
    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,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to