greenplumn CPhysicalParallelUnionAllTest 源码
greenplumn CPhysicalParallelUnionAllTest 代码
文件路径:/src/backend/gporca/server/src/unittest/gpopt/minidump/CPhysicalParallelUnionAllTest.cpp
// Greenplum Database
// Copyright (C) 2016 VMware, Inc. or its affiliates.
#include "unittest/gpopt/minidump/CPhysicalParallelUnionAllTest.h"
#include "gpos/task/CAutoTraceFlag.h"
#include "gpos/test/CUnittest.h"
#include "naucrates/traceflags/traceflags.h"
#include "unittest/gpopt/CTestUtils.h"
using namespace gpos;
static ULONG ulCounter = 0;
static const CHAR *rgszFileNames[] = {
"../data/dxl/minidump/CPhysicalParallelUnionAllTest/NoOpMotionUsesOnlyGroupOutputColumns.mdp",
"../data/dxl/minidump/CPhysicalParallelUnionAllTest/RedundantMotionParallelUnionAll.mdp",
"../data/dxl/minidump/CPhysicalParallelUnionAllTest/ParallelUnionAllWithNoRedistributableColumns.mdp",
"../data/dxl/minidump/CPhysicalParallelUnionAllTest/ParallelUnionAllWithSingleNotRedistributableColumn.mdp",
"../data/dxl/minidump/CPhysicalParallelUnionAllTest/TwoHashedTables.mdp",
"../data/dxl/minidump/CPhysicalParallelUnionAllTest/ParallelAppend-Select.mdp",
"../data/dxl/minidump/CPhysicalParallelUnionAllTest/ParallelAppend-Insert.mdp",
"../data/dxl/minidump/CPhysicalParallelUnionAllTest/ParallelAppend-ConstTable.mdp",
"../data/dxl/minidump/CPhysicalParallelUnionAllTest/ParallelUnionAllWithNotEqualNumOfDistrColumns.mdp",
"../data/dxl/minidump/CPhysicalParallelUnionAllTest/FallBackToSerialAppend.mdp",
"../data/dxl/minidump/CPhysicalParallelUnionAllTest/RandomDistributedChildrenUnhashableColumns.mdp",
};
namespace gpopt
{
GPOS_RESULT
CPhysicalParallelUnionAllTest::EresUnittest()
{
BOOL fMatchPlans = true;
BOOL fTestSpacePruning = true;
CAutoTraceFlag atfParallelAppend(gpos::EopttraceEnableParallelAppend, true);
return CTestUtils::EresUnittest_RunTestsWithoutAdditionalTraceFlags(
rgszFileNames, &ulCounter, GPOS_ARRAY_SIZE(rgszFileNames), fMatchPlans,
fTestSpacePruning);
}
} // namespace gpopt
相关信息
相关文章
greenplumn CArrayExpansionTest 源码
greenplumn CCollapseProjectTest 源码
greenplumn CConstTblGetTest 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦