summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/interface
diff options
context:
space:
mode:
authorachains <[email protected]>2026-02-18 20:03:36 +0300
committerachains <[email protected]>2026-02-18 21:36:35 +0300
commite9aa538cbcddac85385c1cd87e4d6ec31479e4d5 (patch)
tree9d07b931818beb62251cbab3a61a42f5808e6e2d /yt/cpp/mapreduce/interface
parent2f21a98b89007c35af0bcdd5c7deb78fcdba547f (diff)
YT-27432: support create with IgnoreTypeMismatch in C++ SDK
* Changelog entry Type: cpp-sdk <Message for release notes> Support TCreateOptions::IgnoreTypeMismatch in C\+\+ SDK commit_hash:5d45311d21562502b1df035fa6edbacb720a34a0
Diffstat (limited to 'yt/cpp/mapreduce/interface')
-rw-r--r--yt/cpp/mapreduce/interface/client_method_options.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/interface/client_method_options.h b/yt/cpp/mapreduce/interface/client_method_options.h
index 09e373fbc6f..b04a48c11e0 100644
--- a/yt/cpp/mapreduce/interface/client_method_options.h
+++ b/yt/cpp/mapreduce/interface/client_method_options.h
@@ -87,6 +87,12 @@ struct TCreateOptions
FLUENT_FIELD_DEFAULT(bool, IgnoreExisting, false);
///
+ /// @brief Ignore type mismatch with existing node.
+ ///
+ /// Only valid when IgnoreExisting=true.
+ FLUENT_FIELD_DEFAULT(bool, IgnoreTypeMismatch, false);
+
+ ///
/// @brief Recreate node if it exists.
///
/// Force and IgnoreExisting MUST NOT be used simultaneously.