aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgryzlov-ad <gryzlov-ad@yandex-team.com>2024-07-01 12:45:53 +0300
committergryzlov-ad <gryzlov-ad@yandex-team.com>2024-07-01 13:01:52 +0300
commitb0d3a18e417220376ffd1dd0e2f41f05343d82b7 (patch)
tree5737c816afc51bc9ce7071eefe11ac6a18599ddb
parentee7943cc9f90b52a9e8d7877f3520b1bbde8d20d (diff)
downloadydb-b0d3a18e417220376ffd1dd0e2f41f05343d82b7.tar.gz
Add top-level key for watermark data in custom_runtime_data attribute
36175b82e02eee6176b0a4a6973149f4b53f71df
-rw-r--r--yt/yt/client/tablet_client/public.h1
-rw-r--r--yt/yt/client/tablet_client/watermark_runtime_data.cpp4
2 files changed, 5 insertions, 0 deletions
diff --git a/yt/yt/client/tablet_client/public.h b/yt/yt/client/tablet_client/public.h
index f539be7892..06db474534 100644
--- a/yt/yt/client/tablet_client/public.h
+++ b/yt/yt/client/tablet_client/public.h
@@ -228,6 +228,7 @@ DEFINE_ENUM(ERowMergerType,
((Watermark) (1))
);
+extern const TString CustomRuntimeDataWatermarkKey;
struct TWatermarkRuntimeDataConfig;
struct TWatermarkRuntimeData;
diff --git a/yt/yt/client/tablet_client/watermark_runtime_data.cpp b/yt/yt/client/tablet_client/watermark_runtime_data.cpp
index 2301d3ac3d..638f21e82e 100644
--- a/yt/yt/client/tablet_client/watermark_runtime_data.cpp
+++ b/yt/yt/client/tablet_client/watermark_runtime_data.cpp
@@ -4,6 +4,10 @@ namespace NYT::NTabletClient {
////////////////////////////////////////////////////////////////////////////////
+const TString CustomRuntimeDataWatermarkKey("watermark");
+
+////////////////////////////////////////////////////////////////////////////////
+
void TWatermarkRuntimeDataConfig::Register(TRegistrar registrar)
{
registrar.Parameter("column_name", &TThis::ColumnName);