greenplumn cdbtargeteddispatch 源码
greenplumn cdbtargeteddispatch 代码
文件路径:/src/include/cdb/cdbtargeteddispatch.h
/*-------------------------------------------------------------------------
*
* The targeted dispatch code will use query information to assign content ids
* to the root node of a plan, when that information is calculatable.
*
* For example, in the query select * from t1 where t1.distribution_key = 100
*
* Then it is known that t1.distribution_key must equal 100, and so the content
* id can be calculated from that.
*
* See MPP-6939 for more information.
*
* Portions Copyright (c) 2009, Greenplum inc
* Portions Copyright (c) 2012-Present VMware, Inc. or its affiliates.
*
*
* IDENTIFICATION
* src/include/cdb/cdbtargeteddispatch.h
*
*-------------------------------------------------------------------------
*/
#ifndef CDBTARGETEDDISPATCH_H
#define CDBTARGETEDDISPATCH_H
#include "nodes/pathnodes.h"
#include "nodes/plannodes.h"
extern void FinalizeDirectDispatchDataForSlice(PlanSlice *slice);
extern void DirectDispatchUpdateContentIdsFromPlan(PlannerInfo *root, Plan *plan);
extern void DirectDispatchUpdateContentIdsForInsert(PlannerInfo *root, Plan *plan,
GpPolicy *targetPolicy, Oid *hashfuncs);
extern void MergeDirectDispatchCalculationInfo(DirectDispatchInfo *to, DirectDispatchInfo *from);
#endif /* CDBTARGETEDDISPATCH_H */
相关信息
相关文章
greenplumn cdbappendonlyblockdirectory 源码
greenplumn cdbappendonlystorage 源码
greenplumn cdbappendonlystorage_int 源码
greenplumn cdbappendonlystorageformat 源码
greenplumn cdbappendonlystoragelayer 源码
greenplumn cdbappendonlystorageread 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦