Skip to content

Commit 84fed3c

Browse files
committed
disabled spilling tests for low runtime versions
1 parent 556e596 commit 84fed3c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ydb/core/kqp/ut/spilling/kqp_scan_spilling_ut.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
#include <ydb/library/yql/dq/actors/compute/dq_compute_actor.h>
55

6+
#include <ydb/library/yql/minikql/mkql_runtime_version.h>
7+
68
#include <util/system/fs.h>
79

810
namespace NKikimr {
@@ -93,6 +95,8 @@ Y_UNIT_TEST(SpillingPragmaParseError) {
9395
}
9496

9597
Y_UNIT_TEST_TWIN(SpillingInRuntimeNodes, EnabledSpilling) {
98+
// Spilling in graceJoin was introduced in runtime version 50
99+
if (EnabledSpilling && MKQL_RUNTIME_VERSION < 50U) return;
96100
double reasonableTreshold = EnabledSpilling ? 0.01 : 100;
97101
Cerr << "cwd: " << NFs::CurrentWorkingDirectory() << Endl;
98102
TKikimrRunner kikimr(AppCfgLowComputeLimits(reasonableTreshold));
@@ -121,6 +125,8 @@ Y_UNIT_TEST_TWIN(SpillingInRuntimeNodes, EnabledSpilling) {
121125
}
122126

123127
Y_UNIT_TEST(HandleErrorsCorrectly) {
128+
// Spilling in graceJoin was introduced in runtime version 50
129+
if (MKQL_RUNTIME_VERSION < 50U) return;
124130
Cerr << "cwd: " << NFs::CurrentWorkingDirectory() << Endl;
125131
TKikimrRunner kikimr(AppCfgLowComputeLimits(0.01, false));
126132

0 commit comments

Comments
 (0)