This is an automated email from the ASF dual-hosted git repository.
maxyang pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
from ca15881d9b4 Suppress deprecation warnings for MD5 functions on OpenSSL
>= 3.0 (#1164)
new 0f1202be957 ORCA: Pruning the unused ColRefs in CTE
new 12754e3b334 ORCA: Pruning the output columns in CTE
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../src/test/regress/expected/gporca_optimizer.out | 5 +-
.../regress/expected/shared_scan_optimizer.out | 2 +-
src/backend/gpopt/config/CConfigParamMapping.cpp | 8 +
.../gpopt/translate/CContextDXLToPlStmt.cpp | 45 +-
.../gpopt/translate/CTranslatorDXLToPlStmt.cpp | 41 +-
.../gpopt/translate/CTranslatorQueryToDXL.cpp | 6 +-
.../gporca/libgpopt/include/gpopt/base/CCTEInfo.h | 56 +-
.../gporca/libgpopt/include/gpopt/base/CColRef.h | 7 +
.../gporca/libgpopt/include/gpopt/base/CUtils.h | 4 +-
.../include/gpopt/operators/CLogicalCTEConsumer.h | 14 +
.../include/gpopt/operators/CLogicalCTEProducer.h | 35 +-
.../include/gpopt/operators/CPhysicalCTEConsumer.h | 11 +
.../include/gpopt/operators/CPhysicalCTEProducer.h | 22 +-
.../include/gpopt/translate/CTranslatorDXLToExpr.h | 14 +-
.../gpopt/translate/CTranslatorDXLToExprUtils.h | 4 -
src/backend/gporca/libgpopt/src/base/CCTEInfo.cpp | 91 +-
src/backend/gporca/libgpopt/src/base/CColRef.cpp | 16 +-
.../libgpopt/src/base/COptimizationContext.cpp | 2 +-
.../gporca/libgpopt/src/base/CReqdPropPlan.cpp | 12 +-
src/backend/gporca/libgpopt/src/base/CUtils.cpp | 54 +-
.../src/operators/CExpressionPreprocessor.cpp | 105 +-
.../libgpopt/src/operators/CLogicalCTEConsumer.cpp | 76 +-
.../libgpopt/src/operators/CLogicalCTEProducer.cpp | 35 +-
.../src/operators/COrderedAggPreprocessor.cpp | 2 +
.../src/operators/CPhysicalCTEConsumer.cpp | 23 +-
.../src/operators/CPhysicalCTEProducer.cpp | 58 +-
.../libgpopt/src/operators/CPhysicalTableScan.cpp | 5 +-
.../src/translate/CTranslatorDXLToExpr.cpp | 263 ++-
.../src/translate/CTranslatorDXLToExprUtils.cpp | 31 -
.../src/translate/CTranslatorExprToDXL.cpp | 13 +-
.../src/xforms/CXformExpandFullOuterJoin.cpp | 7 +-
.../src/xforms/CXformGbAggWithMDQA2Join.cpp | 1 +
.../src/xforms/CXformImplementCTEProducer.cpp | 2 +-
.../src/xforms/CXformInlineCTEConsumer.cpp | 1 +
.../xforms/CXformInlineCTEConsumerUnderSelect.cpp | 1 +
.../gporca/libgpopt/src/xforms/CXformUnnestTVF.cpp | 1 +
.../gporca/libgpopt/src/xforms/CXformUtils.cpp | 8 +-
.../dxl/operators/CDXLLogicalCTEProducer.h | 10 +-
.../dxl/operators/CDXLPhysicalCTEConsumer.h | 12 +-
.../dxl/operators/CDXLPhysicalCTEProducer.h | 13 +-
.../include/naucrates/dxl/xml/dxltokens.h | 1 +
.../include/naucrates/statistics/IStatistics.h | 6 +
.../include/naucrates/traceflags/traceflags.h | 11 +-
.../src/operators/CDXLLogicalCTEProducer.cpp | 4 +-
.../src/operators/CDXLPhysicalCTEConsumer.cpp | 14 +-
.../src/operators/CDXLPhysicalCTEProducer.cpp | 14 +-
.../src/parser/CParseHandlerLogicalCTEProducer.cpp | 2 +-
.../parser/CParseHandlerPhysicalCTEConsumer.cpp | 2 +-
.../parser/CParseHandlerPhysicalCTEProducer.cpp | 7 +-
.../gporca/libnaucrates/src/xml/dxltokens.cpp | 1 +
.../src/unittest/gpopt/xforms/CXformTest.cpp | 1 +
src/backend/utils/misc/guc_gp.c | 24 +
src/include/gpopt/translate/CContextDXLToPlStmt.h | 47 +-
src/include/utils/guc.h | 2 +
src/include/utils/unsync_guc_name.h | 2 +
src/test/regress/expected/cte_prune.out | 1775 +++++++++++++++++++
src/test/regress/expected/cte_prune_optimizer.out | 1848 ++++++++++++++++++++
src/test/regress/expected/gp_dqa_optimizer.out | 10 +-
src/test/regress/expected/gporca_optimizer.out | 23 +-
.../regress/expected/shared_scan_optimizer.out | 2 +-
src/test/regress/parallel_schedule | 2 +-
src/test/regress/sql/cte_prune.sql | 465 +++++
62 files changed, 5146 insertions(+), 233 deletions(-)
create mode 100644 src/test/regress/expected/cte_prune.out
create mode 100644 src/test/regress/expected/cte_prune_optimizer.out
create mode 100644 src/test/regress/sql/cte_prune.sql
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]