You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by ma...@apache.org on 2025/02/07 09:28:30 UTC

(cloudberry) 16/34: Comment about direct dispatch's indexqualorig changes

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

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

commit 83ac047343ac8fc60ee015a98439741aa7533ad4
Author: Adam Lee <ad...@vmware.com>
AuthorDate: Mon Jun 12 16:13:29 2023 +0800

    Comment about direct dispatch's indexqualorig changes
    
    Postgres introduced recheckqual and Greenplum reuses it as the
    "original" index qual for direct dispatching, this commit updates the
    leftover comments.
---
 src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp | 1 -
 src/include/nodes/plannodes.h                          | 2 --
 2 files changed, 3 deletions(-)

diff --git a/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp b/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp
index 8fc2f8447a..52a1bb84e8 100644
--- a/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp
+++ b/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp
@@ -993,7 +993,6 @@ CTranslatorDXLToPlStmt::TranslateDXLIndexOnlyScan(
 		&index_strategy_list, &index_subtype_list);
 
 	index_scan->indexqual = index_cond;
-	index_scan->indexqualorig = index_orig_cond;
 	SetParamIds(plan);
 
 	return (Plan *) index_scan;
diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h
index a35d01408a..e8e2ac22ec 100644
--- a/src/include/nodes/plannodes.h
+++ b/src/include/nodes/plannodes.h
@@ -681,8 +681,6 @@ typedef struct DynamicIndexScan
  * indextlist are marked as resjunk if they correspond to columns that
  * the index AM cannot reconstruct.
  * ----------------
- * GPDB: We need indexqualorig to determine direct dispatch, however there
- * is no need to dispatch it.
  */
 typedef struct IndexOnlyScan
 {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org