diff options
author | dakovalkov <dakovalkov@yandex-team.com> | 2023-10-15 16:34:05 +0300 |
---|---|---|
committer | dakovalkov <dakovalkov@yandex-team.com> | 2023-10-15 16:55:14 +0300 |
commit | c3e3da3174eb664f9d2d7de14a9885d8e7905fd5 (patch) | |
tree | 67d278230cbc4d38632a5d68cb41a1ea860f7bf0 | |
parent | cacc524b9a8a4cab8f1b6f2be0473f1ef3742bae (diff) | |
download | ydb-c3e3da3174eb664f9d2d7de14a9885d8e7905fd5.tar.gz |
YT-20215: Add EnableColumnarValueStatistics to ChunkWriterOptions
-rw-r--r-- | yt/yt/client/table_client/config.cpp | 4 | ||||
-rw-r--r-- | yt/yt/client/table_client/config.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/yt/yt/client/table_client/config.cpp b/yt/yt/client/table_client/config.cpp index b376c4ec98..e3f8ae5da9 100644 --- a/yt/yt/client/table_client/config.cpp +++ b/yt/yt/client/table_client/config.cpp @@ -364,6 +364,10 @@ void TChunkWriterOptions::Register(TRegistrar registrar) .Default(); registrar.Parameter("single_column_group_by_default", &TThis::SingleColumnGroupByDefault) .Default(); + registrar.Parameter("enable_columnar_value_statistics", &TThis::EnableColumnarValueStatistics) + .Default(true); + registrar.Parameter("enable_row_count_in_columnar_statistics", &TThis::EnableRowCountInColumnarStatistics) + .Default(true); registrar.Parameter("schema_modification", &TThis::SchemaModification) .Default(ETableSchemaModification::None); diff --git a/yt/yt/client/table_client/config.h b/yt/yt/client/table_client/config.h index b209155d74..3ee6378ff6 100644 --- a/yt/yt/client/table_client/config.h +++ b/yt/yt/client/table_client/config.h @@ -338,6 +338,8 @@ public: bool ReturnBoundaryKeys; bool CastAnyToComposite = false; bool SingleColumnGroupByDefault = false; + bool EnableColumnarValueStatistics; + bool EnableRowCountInColumnarStatistics; NYTree::INodePtr CastAnyToCompositeNode; ETableSchemaModification SchemaModification; |