summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbabenko <[email protected]>2025-05-11 14:45:28 +0300
committerbabenko <[email protected]>2025-05-11 14:58:36 +0300
commitf2dff69a3e31e797bcbd219582b4e9827c800c21 (patch)
tree9f4c5dda9046c18f0f3c20312d77ad69bef72c0c
parent7a536be3091e319e51dbe308b1ea29569a24a22b (diff)
YT-22593: Replace more TStrings with std::string master
commit_hash:3fcaa1e051838c8efbdc08c8c6eb8493d7bc335e
-rw-r--r--yt/yt/client/table_client/schema.cpp2
-rw-r--r--yt/yt/client/table_client/schema.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/client/table_client/schema.cpp b/yt/yt/client/table_client/schema.cpp
index 298ab353eb0..f6ec8a6d14e 100644
--- a/yt/yt/client/table_client/schema.cpp
+++ b/yt/yt/client/table_client/schema.cpp
@@ -216,7 +216,7 @@ TColumnSchema& TColumnSchema::SetGroup(const std::optional<std::string>& value)
return *this;
}
-TColumnSchema& TColumnSchema::SetExpression(const std::optional<TString>& value)
+TColumnSchema& TColumnSchema::SetExpression(const std::optional<std::string>& value)
{
Expression_ = value;
return *this;
diff --git a/yt/yt/client/table_client/schema.h b/yt/yt/client/table_client/schema.h
index d368c1a3fca..4061e5a4b1d 100644
--- a/yt/yt/client/table_client/schema.h
+++ b/yt/yt/client/table_client/schema.h
@@ -157,7 +157,7 @@ public:
TColumnSchema& SetSimpleLogicalType(ESimpleLogicalValueType type);
TColumnSchema& SetSortOrder(std::optional<ESortOrder> value);
TColumnSchema& SetLock(const std::optional<std::string>& value);
- TColumnSchema& SetExpression(const std::optional<TString>& value);
+ TColumnSchema& SetExpression(const std::optional<std::string>& value);
TColumnSchema& SetMaterialized(std::optional<bool> value);
TColumnSchema& SetAggregate(const std::optional<std::string>& value);
TColumnSchema& SetGroup(const std::optional<std::string>& value);