aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/interface
diff options
context:
space:
mode:
authorhiddenpath <hiddenpath@yandex-team.com>2025-02-12 14:24:11 +0300
committerhiddenpath <hiddenpath@yandex-team.com>2025-02-12 14:54:43 +0300
commitd632de730cc82b28392bd8e3c10173fc07d450f2 (patch)
tree8ad9599b76437949b7c1b42bcec15db5cbd24b95 /yt/cpp/mapreduce/interface
parentedeef2584c0fc734d50dd674293597f3d4314875 (diff)
downloadydb-d632de730cc82b28392bd8e3c10173fc07d450f2.tar.gz
Add Annotations and Description options to TOperationSpecBase
commit_hash:43a44fd322be5b98ea4f4c90ee0c5eebef9241e0
Diffstat (limited to 'yt/cpp/mapreduce/interface')
-rw-r--r--yt/cpp/mapreduce/interface/operation.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/interface/operation.h b/yt/cpp/mapreduce/interface/operation.h
index 218ead0572..c1beb5375d 100644
--- a/yt/cpp/mapreduce/interface/operation.h
+++ b/yt/cpp/mapreduce/interface/operation.h
@@ -542,6 +542,12 @@ struct TOperationSpecBase
/// How many jobs can fail before operation is failed.
FLUENT_FIELD_OPTION(ui64, MaxFailedJobCount);
+
+ // Arbitrary structured information related to the operation.
+ FLUENT_FIELD_OPTION(TNode, Annotations);
+
+ // Similar to Annotations, shown on the operation page. Recommends concise, human-readable entries to prevent clutter.
+ FLUENT_FIELD_OPTION(TNode, Description);
};
///