greenplumn execUtils 源码
greenplumn execUtils 代码
文件路径:/src/include/executor/execUtils.h
/*-------------------------------------------------------------------------
*
* execUtils.h
*
* Portions Copyright (c) 2005-2008, Greenplum inc
* Portions Copyright (c) 2012-Present VMware, Inc. or its affiliates.
*
*
* IDENTIFICATION
* src/include/executor/execUtils.h
*
*-------------------------------------------------------------------------
*/
#ifndef _EXECUTILS_H_
#define _EXECUTILS_H_
#include "executor/execdesc.h"
struct EState;
struct QueryDesc;
struct CdbDispatcherState;
extern SliceTable *InitSliceTable(struct EState *estate, PlannedStmt *plannedstmt);
extern ExecSlice *getCurrentSlice(struct EState *estate, int sliceIndex);
extern bool sliceRunsOnQD(ExecSlice *slice);
extern bool sliceRunsOnQE(ExecSlice *slice);
extern void AssignGangs(struct CdbDispatcherState *ds, QueryDesc *queryDesc);
extern Motion *findSenderMotion(PlannedStmt *plannedstmt, int sliceIndex);
extern Bitmapset *getLocallyExecutableSubplans(PlannedStmt *plannedstmt, Plan *root);
extern void InstallDispatchedExecParams(QueryDispatchDesc *ddesc, EState *estate);
#ifdef USE_ASSERT_CHECKING
struct PlannedStmt;
extern void AssertSliceTableIsValid(SliceTable *st);
#endif
#endif
相关信息
相关文章
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦