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