Skip to content

Commit

Permalink
bump SSA_RUNTIME_VERSION (ydb-platform#5906)
Browse files Browse the repository at this point in the history
  • Loading branch information
zverevgeny authored and uzhastik committed Sep 11, 2024
1 parent 0a49756 commit 528e140
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion ydb/core/formats/arrow/ssa_runtime_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace NKikimr::NSsa {

// Bump this version every time incompatible runtime functions are introduced.
#ifndef SSA_RUNTIME_VERSION
#define SSA_RUNTIME_VERSION 3U
#define SSA_RUNTIME_VERSION 4U
#endif

// History:
Expand Down
5 changes: 0 additions & 5 deletions ydb/core/kqp/ut/query/kqp_explain_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -850,11 +850,7 @@ Y_UNIT_TEST_SUITE(KqpExplain) {
NJson::ReadJsonTree(*streamRes.PlanJson, &plan, true);
UNIT_ASSERT(ValidatePlanNodeIds(plan));

#if SSA_RUNTIME_VERSION >= 4U
auto readNode = FindPlanNodeByKv(plan, "Node Type", "TableFullScan");
#else
auto readNode = FindPlanNodeByKv(plan, "Node Type", "Filter-TableFullScan");
#endif
UNIT_ASSERT(readNode.IsDefined());

auto& operators = readNode.GetMapSafe().at("Operators").GetArraySafe();
Expand All @@ -879,7 +875,6 @@ Y_UNIT_TEST_SUITE(KqpExplain) {
auto session = db.CreateSession().GetValueSync().GetSession();

auto res = session.ExplainDataQuery(R"(
PRAGMA kikimr.OptEnablePredicateExtract = 'true';
SELECT t.*
FROM
(SELECT * FROM `/Root/test_table_idx_idx`
Expand Down

0 comments on commit 528e140

Please sign in to comment.