greenplumn CXformPushGbDedupBelowJoin 代码
文件路径:/src/backend/gporca/libgpopt/src/xforms/CXformPushGbDedupBelowJoin.cpp
/---------------------------------------------------------------------------
/ Greenplum Database
/ Copyright (C) 2013 VMware, Inc. or its affiliates.
/
/ @filename:
/ CXformPushGbDedupBelowJoin.cpp
/
/ @doc:
/ Implementation of pushing dedup group by below join transform
/---------------------------------------------------------------------------
#include "gpopt/xforms/CXformPushGbDedupBelowJoin.h"
#include "gpos/base.h"
#include "gpopt/operators/CLogicalGbAggDeduplicate.h"
#include "gpopt/operators/CLogicalInnerJoin.h"
#include "gpopt/operators/CPatternLeaf.h"
#include "gpopt/xforms/CXformUtils.h"
using namespace gpopt;
/---------------------------------------------------------------------------
/ @function:
/ CXformPushGbDedupBelowJoin::CXformPushGbDedupBelowJoin
/
/ @doc:
/ Ctor
/
/---------------------------------------------------------------------------
CXformPushGbDedupBelowJoin::CXformPushGbDedupBelowJoin(CMemoryPool *mp)
: / pattern
CXformPushGbBelowJoin(GPOS_NEW(mp) CExpression(
mp, GPOS_NEW(mp) CLogicalGbAggDeduplicate(mp),
GPOS_NEW(mp) CExpression(
mp, GPOS_NEW(mp) CLogicalInnerJoin(mp),
GPOS_NEW(mp) CExpression(
mp, GPOS_NEW(mp) CPatternLeaf(mp)), / join outer child
GPOS_NEW(mp) CExpression(
mp, GPOS_NEW(mp) CPatternLeaf(mp)), / join inner child
GPOS_NEW(mp) CExpression(
mp, GPOS_NEW(mp) CPatternTree(mp)) / join predicate
),
GPOS_NEW(mp) CExpression(
mp, GPOS_NEW(mp) CPatternTree(mp)) / scalar project list
))
{
}
/ EOF
相关信息
相关文章
greenplumn CJoinOrderGreedy 源码
greenplumn CJoinOrderMinCard 源码
greenplumn CSubqueryHandler 源码