NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
StatisticIdsExtractorTest.cpp File Reference
#include <API/QueryAPI.hpp>
#include <BaseIntegrationTest.hpp>
#include <Catalogs/Source/LogicalSource.hpp>
#include <Catalogs/Source/PhysicalSource.hpp>
#include <Catalogs/Source/SourceCatalog.hpp>
#include <Catalogs/Topology/TopologyNode.hpp>
#include <Configurations/Worker/PhysicalSourceTypes/CSVSourceType.hpp>
#include <Configurations/WorkerConfigurationKeys.hpp>
#include <Configurations/WorkerPropertyKeys.hpp>
#include <Operators/LogicalOperators/LogicalMapOperator.hpp>
#include <Operators/LogicalOperators/StatisticCollection/Descriptor/HyperLogLogDescriptor.hpp>
#include <Operators/LogicalOperators/StatisticCollection/Metrics/IngestionRate.hpp>
#include <Operators/LogicalOperators/StatisticCollection/SendingPolicy/SendingPolicyASAP.hpp>
#include <Operators/LogicalOperators/StatisticCollection/TriggerCondition/NeverTrigger.hpp>
#include <Optimizer/Phases/StatisticIdInferencePhase.hpp>
#include <Optimizer/QueryRewrite/LogicalSourceExpansionRule.hpp>
#include <Plans/Query/QueryPlan.hpp>
#include <StatisticCollection/QueryGeneration/StatisticIdsExtractor.hpp>
#include <Util/Logger/Logger.hpp>
#include <Util/TestUtils.hpp>
#include <gtest/gtest.h>
#include <vector>
Include dependency graph for StatisticIdsExtractorTest.cpp:

Classes

class  NES::StatisticIdsExtractorTest
 

Namespaces

 NES
 This exception represents a network error.
 

Functions

 NES::TEST_P (StatisticIdsExtractorTest, oneOperator)
 Tests if we extract the correct statistic ids for a query containing one operator. More...
 
 NES::TEST_P (StatisticIdsExtractorTest, noOperators)
 Tests if we extract the correct statistic ids for a query containing two physical sources and no operator. With this test case, we simulate a data or workload characteristic. More...
 
 NES::TEST_P (StatisticIdsExtractorTest, twoOperators)
 Tests if we extract the correct statistic ids for a query containing two operators. More...
 
 NES::TEST_P (StatisticIdsExtractorTest, twoOperatorsAlreadyContainingWatermark)
 Tests if we extract the correct statistic ids for a query containing two operators that already contains a watermark assignment operator. More...
 
 NES::INSTANTIATE_TEST_CASE_P (TestInputs, StatisticIdsExtractorTest, ::testing::Values(1, 2, 3, 4, 8), [](const testing::TestParamInfo< StatisticIdsExtractorTest::ParamType > &info) { return std::to_string(info.param)+"_PhysicalSources";})
 

Variables

constexpr auto NES::expandAlsoOperators = false