greenplumn CXformSequenceProject2Apply 源码
greenplumn CXformSequenceProject2Apply 代码
文件路径:/src/backend/gporca/libgpopt/src/xforms/CXformSequenceProject2Apply.cpp
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CXformSequenceProject2Apply.cpp
//
// @doc:
// Implementation of Sequence Project to Apply transform
//---------------------------------------------------------------------------
#include "gpopt/xforms/CXformSequenceProject2Apply.h"
#include "gpos/base.h"
#include "gpopt/operators/CLogicalSequenceProject.h"
#include "gpopt/operators/CPatternLeaf.h"
using namespace gpopt;
//---------------------------------------------------------------------------
// @function:
// CXformSequenceProject2Apply::CXformSequenceProject2Apply
//
// @doc:
// Ctor
//
//---------------------------------------------------------------------------
CXformSequenceProject2Apply::CXformSequenceProject2Apply(CMemoryPool *mp)
: // pattern
CXformSubqueryUnnest(GPOS_NEW(mp) CExpression(
mp, GPOS_NEW(mp) CLogicalSequenceProject(mp),
GPOS_NEW(mp) CExpression(
mp, GPOS_NEW(mp) CPatternLeaf(mp)), // relational child
GPOS_NEW(mp)
CExpression(mp, GPOS_NEW(mp) CPatternTree(mp)) // project list
))
{
}
// EOF
相关信息
相关文章
greenplumn CJoinOrderGreedy 源码
greenplumn CJoinOrderMinCard 源码
greenplumn CSubqueryHandler 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦