aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsabdenovch <sabdenovch@yandex-team.com>2025-05-16 23:10:27 +0300
committersabdenovch <sabdenovch@yandex-team.com>2025-05-16 23:23:05 +0300
commit7ae88a8a59d57d5ad9eecb58d4ac5771ec1ad18e (patch)
treeac843dfaead7245a8881706ff8974b0830893e85
parentcdcad4f48c1b639ee619172663fe60e45103cf0d (diff)
downloadydb-7ae88a8a59d57d5ad9eecb58d4ac5771ec1ad18e.tar.gz
YT-25003: Do not decode Any for the purpose of encoding it right back
* Changelog entry Type: fix Component: dynamic-tables/misc-server Fixed snapshot divergence between replay and resave. Additionally optimized schemaful unversioned readers for yson columns. commit_hash:145a5e6558b386e544bbfb7a85d15e6ae146650e
-rw-r--r--yt/yt/client/table_client/config.cpp3
-rw-r--r--yt/yt/client/table_client/config.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/yt/yt/client/table_client/config.cpp b/yt/yt/client/table_client/config.cpp
index 64f4502e08f..9a0eccd0168 100644
--- a/yt/yt/client/table_client/config.cpp
+++ b/yt/yt/client/table_client/config.cpp
@@ -422,6 +422,9 @@ void TChunkReaderOptions::Register(TRegistrar registrar)
registrar.Parameter("enable_key_widening", &TThis::EnableKeyWidening)
.Default(false);
+ registrar.Parameter("enable_any_unpacking", &TThis::EnableAnyUnpacking)
+ .Default(true);
+
registrar.Postprocessor([] (TThis* config) {
if (config->EnableRangeIndex && !config->EnableRowIndex) {
THROW_ERROR_EXCEPTION("\"enable_row_index\" must be set when \"enable_range_index\" is set");
diff --git a/yt/yt/client/table_client/config.h b/yt/yt/client/table_client/config.h
index d0a9e3135b9..a703901134a 100644
--- a/yt/yt/client/table_client/config.h
+++ b/yt/yt/client/table_client/config.h
@@ -380,6 +380,7 @@ struct TChunkReaderOptions
bool DynamicTable;
bool EnableTabletIndex;
bool EnableKeyWidening;
+ bool EnableAnyUnpacking;
static TChunkReaderOptionsPtr GetDefault();