greenplumn CMCVTest 源码
greenplumn CMCVTest 代码
文件路径:/src/backend/gporca/server/include/unittest/dxl/statistics/CMCVTest.h
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2018 VMware, Inc. or its affiliates.
//
// @filename:
// CMCVTest.h
//
// @doc:
// Testing merging most common values (MCV) and histograms
//---------------------------------------------------------------------------
#ifndef GPNAUCRATES_CMCVTest_H
#define GPNAUCRATES_CMCVTest_H
#include "gpos/base.h"
namespace gpnaucrates
{
using namespace gpos;
//---------------------------------------------------------------------------
// @class:
// CMCVTest
//
// @doc:
// Static unit testing merging most common values (MCV) and histograms
//
//---------------------------------------------------------------------------
class CMCVTest
{
private:
// triplet consisting of MCV input file, histogram input file and merged output file
struct SMergeTestElem
{
const CHAR *szInputMCVFile;
const CHAR *szInputHistFile;
const CHAR *szMergedFile;
};
public:
// unittests
static GPOS_RESULT EresUnittest();
// sort MCVs tests
static GPOS_RESULT EresUnittest_SortInt4MCVs();
// merge MCVs and histogram
static GPOS_RESULT EresUnittest_MergeHistMCV();
}; // class CMCVTest
} // namespace gpnaucrates
#endif // !GPNAUCRATES_CMCVTest_H
// EOF
相关信息
相关文章
greenplumn CCardinalityTestUtils 源码
greenplumn CFilterCardinalityTest 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦