greenplumn CInnerJoinStatsProcessor 源码
greenplumn CInnerJoinStatsProcessor 代码
文件路径:/src/backend/gporca/libnaucrates/src/statistics/CInnerJoinStatsProcessor.cpp
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright 2018 VMware, Inc. or its affiliates.
//
// @filename:
// CInnerJoinStatsProcessor.cpp
//
// @doc:
// Statistics helper routines for processing Inner Joins
//---------------------------------------------------------------------------
#include "naucrates/statistics/CInnerJoinStatsProcessor.h"
using namespace gpmd;
// return statistics object after performing inner join
CStatistics *
CInnerJoinStatsProcessor::CalcInnerJoinStatsStatic(
CMemoryPool *mp, const IStatistics *outer_stats_input,
const IStatistics *inner_stats_input, CStatsPredJoinArray *join_preds_stats)
{
GPOS_ASSERT(nullptr != outer_stats_input);
GPOS_ASSERT(nullptr != inner_stats_input);
GPOS_ASSERT(nullptr != join_preds_stats);
const CStatistics *outer_stats =
dynamic_cast<const CStatistics *>(outer_stats_input);
return CJoinStatsProcessor::SetResultingJoinStats(
mp, outer_stats->GetStatsConfig(), outer_stats_input, inner_stats_input,
join_preds_stats, IStatistics::EsjtInnerJoin,
true /* DoIgnoreLASJHistComputation */
);
}
// EOF
相关信息
相关文章
greenplumn CFilterStatsProcessor 源码
greenplumn CGroupByStatsProcessor 源码
greenplumn CJoinStatsProcessor 源码
greenplumn CLeftAntiSemiJoinStatsProcessor 源码
greenplumn CLeftOuterJoinStatsProcessor 源码
greenplumn CLeftSemiJoinStatsProcessor 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦