Skip to content

Commit f079841

Browse files
dtorilovmaVovk
authored andcommitted
YT-24254: Check type of EValueType::Any column after input query
commit_hash:5b860e7d06ca0c6be92d37cfd65d212652e84901
1 parent 034fce8 commit f079841

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

yt/yt/client/table_client/config.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,8 @@ void TChunkWriterOptions::Register(TRegistrar registrar)
469469
.Default(true);
470470
registrar.Parameter("cast_any_to_composite", &TThis::CastAnyToCompositeNode)
471471
.Default();
472+
registrar.Parameter("cast_composite_to_any", &TThis::CastCompositeToAny)
473+
.Default(false);
472474
registrar.Parameter("single_column_group_by_default", &TThis::SingleColumnGroupByDefault)
473475
.Default();
474476
registrar.Parameter("enable_columnar_value_statistics", &TThis::EnableColumnarValueStatistics)

yt/yt/client/table_client/config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ struct TChunkWriterOptions
415415
bool EnableSkynetSharing;
416416
bool ReturnBoundaryKeys;
417417
bool CastAnyToComposite = false;
418+
bool CastCompositeToAny;
418419
bool SingleColumnGroupByDefault = false;
419420
bool EnableColumnarValueStatistics;
420421
bool EnableRowCountInColumnarStatistics;

0 commit comments

Comments
 (0)