diff options
author | ilnaz <[email protected]> | 2024-12-13 13:23:45 +0300 |
---|---|---|
committer | ilnaz <[email protected]> | 2024-12-13 14:40:50 +0300 |
commit | 4526714adffb9a72bcf8e217ace99c462ef8fe1f (patch) | |
tree | 4d7b5d8ec9b1bb6e30b3c65e692444f514782089 /yql/essentials/sql/v1/sql_ut_antlr4.cpp | |
parent | 7e12365effe19ba025ad585c13c2a6b68bfe4703 (diff) |
RESOLVED_TIMESTAMPS => BARRIERS_INTERVAL (part 2)
Part 1: [https://github.com/ydb-platform/ydb/pull/12555](https://github.com/ydb-platform/ydb/pull/12555/files)
commit_hash:6fec02d61652f1b4ee5fd2c677f4cedb547ef9ac
Diffstat (limited to 'yql/essentials/sql/v1/sql_ut_antlr4.cpp')
-rw-r--r-- | yql/essentials/sql/v1/sql_ut_antlr4.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yql/essentials/sql/v1/sql_ut_antlr4.cpp b/yql/essentials/sql/v1/sql_ut_antlr4.cpp index ae2ef947592..705ca3d19c6 100644 --- a/yql/essentials/sql/v1/sql_ut_antlr4.cpp +++ b/yql/essentials/sql/v1/sql_ut_antlr4.cpp @@ -2340,7 +2340,7 @@ Y_UNIT_TEST_SUITE(SqlParsingOnly) { FORMAT = 'json', INITIAL_SCAN = TRUE, VIRTUAL_TIMESTAMPS = FALSE, - RESOLVED_TIMESTAMPS = Interval("PT1S"), + BARRIERS_INTERVAL = Interval("PT1S"), RETENTION_PERIOD = Interval("P1D"), TOPIC_MIN_ACTIVE_PARTITIONS = 10, AWS_REGION = 'aws:region' @@ -2360,7 +2360,7 @@ Y_UNIT_TEST_SUITE(SqlParsingOnly) { UNIT_ASSERT_VALUES_UNEQUAL(TString::npos, line.find("true")); UNIT_ASSERT_VALUES_UNEQUAL(TString::npos, line.find("virtual_timestamps")); UNIT_ASSERT_VALUES_UNEQUAL(TString::npos, line.find("false")); - UNIT_ASSERT_VALUES_UNEQUAL(TString::npos, line.find("resolved_timestamps")); + UNIT_ASSERT_VALUES_UNEQUAL(TString::npos, line.find("barriers_interval")); UNIT_ASSERT_VALUES_UNEQUAL(TString::npos, line.find("retention_period")); UNIT_ASSERT_VALUES_UNEQUAL(TString::npos, line.find("topic_min_active_partitions")); UNIT_ASSERT_VALUES_UNEQUAL(TString::npos, line.find("aws_region")); @@ -4702,12 +4702,12 @@ select FormatType($f()); USE plato; CREATE TABLE tableName ( Key Uint32, PRIMARY KEY (Key), - CHANGEFEED feedName WITH (MODE = "KEYS_ONLY", FORMAT = "json", RESOLVED_TIMESTAMPS = "foo") + CHANGEFEED feedName WITH (MODE = "KEYS_ONLY", FORMAT = "json", BARRIERS_INTERVAL = "foo") ); )"; auto res = SqlToYql(req); UNIT_ASSERT(!res.Root); - UNIT_ASSERT_NO_DIFF(Err2Str(res), "<main>:5:102: Error: Literal of Interval type is expected for RESOLVED_TIMESTAMPS\n"); + UNIT_ASSERT_NO_DIFF(Err2Str(res), "<main>:5:100: Error: Literal of Interval type is expected for BARRIERS_INTERVAL\n"); } Y_UNIT_TEST(InvalidChangefeedRetentionPeriod) { |