greenplumn CJoinOrderDPTest 源码

  • 2022-08-18
  • 浏览 (43)

greenplumn CJoinOrderDPTest 代码

文件路径:/src/backend/gporca/server/src/unittest/gpopt/minidump/CJoinOrderDPTest.cpp

//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2016 VMware, Inc. or its affiliates
//
//	@filename:
//		CJoinOrderDPTest.cpp
//
//	@doc:
//		Testing guc for disabling dynamic join order algorithm
//---------------------------------------------------------------------------
#include "unittest/gpopt/minidump/CJoinOrderDPTest.h"

#include "unittest/gpopt/CTestUtils.h"



//---------------------------------------------------------------------------
//	@function:
//		CJoinOrderDPTest::EresUnittest
//
//	@doc:
//		Unittest for testing guc for disabling dynamic join order algorithm
//
//---------------------------------------------------------------------------
gpos::GPOS_RESULT
CJoinOrderDPTest::EresUnittest()
{
	ULONG ulTestCounter = 0;
	const CHAR *rgszFileNames[] = {
		"../data/dxl/minidump/CJoinOrderDPTest/JoinOrderWithDP.mdp",
		"../data/dxl/minidump/CJoinOrderDPTest/JoinOrderWithOutDP.mdp",
		"../data/dxl/minidump/JoinOptimizationLevelQuery3WayHashJoinPartTbl.mdp"};

	return CTestUtils::EresUnittest_RunTestsWithoutAdditionalTraceFlags(
		rgszFileNames, &ulTestCounter, GPOS_ARRAY_SIZE(rgszFileNames), true,
		true);
}
// EOF

相关信息

greenplumn 源码目录

相关文章

greenplumn CAggTest 源码

greenplumn CArrayExpansionTest 源码

greenplumn CBitmapTest 源码

greenplumn CCTETest 源码

greenplumn CCastTest 源码

greenplumn CCollapseProjectTest 源码

greenplumn CConstTblGetTest 源码

greenplumn CDMLTest 源码

greenplumn CDirectDispatchTest 源码

greenplumn CEscapeMechanismTest 源码

0  赞