aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrolton1999 <rolton1999@yandex-team.com>2023-11-04 16:23:27 +0300
committerrolton1999 <rolton1999@yandex-team.com>2023-11-04 16:38:05 +0300
commite3cfbb1c505b85fd2724af9bca32130db8305362 (patch)
tree109fd96019fdbbd708256eb3e711ae03e8f701b7
parentb5c60b12845080cf7ca566be672cc94b51e4cba7 (diff)
downloadydb-e3cfbb1c505b85fd2724af9bca32130db8305362.tar.gz
GRUT: Add passThroughUtf8Characters to CreateYsonWriter
-rw-r--r--yt/yt/core/yson/writer.cpp6
-rw-r--r--yt/yt/core/yson/writer.h3
2 files changed, 6 insertions, 3 deletions
diff --git a/yt/yt/core/yson/writer.cpp b/yt/yt/core/yson/writer.cpp
index 4db08ee279..1e623006c1 100644
--- a/yt/yt/core/yson/writer.cpp
+++ b/yt/yt/core/yson/writer.cpp
@@ -530,7 +530,8 @@ std::unique_ptr<IFlushableYsonConsumer> CreateYsonWriter(
EYsonFormat format,
EYsonType type,
bool enableRaw,
- int indent)
+ int indent,
+ bool passThroughUtf8Characters)
{
if (format == EYsonFormat::Binary) {
return std::make_unique<TBufferedBinaryYsonWriter>(
@@ -543,7 +544,8 @@ std::unique_ptr<IFlushableYsonConsumer> CreateYsonWriter(
format,
type,
enableRaw,
- indent);
+ indent,
+ passThroughUtf8Characters);
}
}
diff --git a/yt/yt/core/yson/writer.h b/yt/yt/core/yson/writer.h
index daba204889..9e5704d4f0 100644
--- a/yt/yt/core/yson/writer.h
+++ b/yt/yt/core/yson/writer.h
@@ -155,7 +155,8 @@ std::unique_ptr<IFlushableYsonConsumer> CreateYsonWriter(
EYsonFormat format,
EYsonType type,
bool enableRaw,
- int indent = TYsonWriter::DefaultIndent);
+ int indent = TYsonWriter::DefaultIndent,
+ bool passThroughUtf8Characters = false);
////////////////////////////////////////////////////////////////////////////////