diff options
author | Mikhail Surin <surinmike@gmail.com> | 2024-03-29 14:45:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-29 14:45:43 +0300 |
commit | b4c98a015f39248443192d4e1dc5560ea8183586 (patch) | |
tree | b6a2afbded7083c42175120610d0511899231f73 | |
parent | 433afef48b65546e0030b46c845ebf8167ddc977 (diff) | |
download | ydb-b4c98a015f39248443192d4e1dc5560ea8183586.tar.gz |
Fix olap ut (#3297)
-rw-r--r-- | ydb/core/kqp/ut/olap/kqp_olap_ut.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ydb/core/kqp/ut/olap/kqp_olap_ut.cpp b/ydb/core/kqp/ut/olap/kqp_olap_ut.cpp index 723f934aa6..bfce60f5a4 100644 --- a/ydb/core/kqp/ut/olap/kqp_olap_ut.cpp +++ b/ydb/core/kqp/ut/olap/kqp_olap_ut.cpp @@ -1992,7 +1992,7 @@ Y_UNIT_TEST_SUITE(KqpOlap) { R"(`level` * 3. > 4.f)", R"(`level` / 2.f <= 1.)", R"(`level` % 3. != 1.f)", - R"(`timestamp` >= Timestamp("1970-01-01T00:00:00.000001Z"))", + //R"(`timestamp` >= Timestamp("1970-01-01T00:00:00.000001Z"))", R"(`timestamp` >= Timestamp("1970-01-01T00:00:00.000001Z") AND `level` > 3)", R"((`timestamp`, `level`) >= (Timestamp("1970-01-01T00:00:00.000001Z"), 3))", #endif @@ -5181,12 +5181,11 @@ Y_UNIT_TEST_SUITE(KqpOlap) { } builder << R"( - DECLARE $in_timestamp AS Timestamp; DECLARE $in_uid AS Utf8; DECLARE $in_level AS Int32; SELECT `timestamp` FROM `/Root/olapStore/olapTable` WHERE - `timestamp` > $in_timestamp AND uid > $in_uid AND level > $in_level + uid > $in_uid AND level > $in_level ORDER BY `timestamp`; )" << Endl; @@ -5197,9 +5196,6 @@ Y_UNIT_TEST_SUITE(KqpOlap) { auto pushQuery = buildQuery(true); auto params = tableClient.GetParamsBuilder() - .AddParam("$in_timestamp") - .Timestamp(TInstant::MicroSeconds(3000990)) - .Build() .AddParam("$in_uid") .Utf8("uid_3000980") .Build() |