Skip to content

Commit

Permalink
[UT] Fix the compile problem of OlapRuntimeRangePrunerTest (StarRocks…
Browse files Browse the repository at this point in the history
…#53784)

Signed-off-by: trueeyu <[email protected]>
  • Loading branch information
trueeyu authored Dec 10, 2024
1 parent a83544b commit 3d7b198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/test/storage/olap_runtime_range_pruner_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class OlapRuntimeRangePrunerTest : public ::testing::Test {
public:
void SetUp() override {
_tablet_schema = SchemaTestHelper::gen_schema_of_dup(1, 3, 1);
_predicate_parser = std::make_unique<PredicateParser>(_tablet_schema);
_predicate_parser = std::make_unique<OlapPredicateParser>(_tablet_schema);
}

static StatusOr<std::shared_ptr<RuntimeFilterProbeDescriptor>> gen_runtime_filter_desc(TPlanNodeId node_id,
Expand All @@ -43,7 +43,7 @@ class OlapRuntimeRangePrunerTest : public ::testing::Test {
RuntimeState _runtime_state;
TPlanNodeId _node_id;
TabletSchemaSPtr _tablet_schema;
std::unique_ptr<PredicateParser> _predicate_parser;
std::unique_ptr<OlapPredicateParser> _predicate_parser;
};

StatusOr<std::shared_ptr<RuntimeFilterProbeDescriptor>> OlapRuntimeRangePrunerTest::gen_runtime_filter_desc(
Expand Down

0 comments on commit 3d7b198

Please sign in to comment.