diff options
author | dinmukhammed <dinmukhammed@yandex-team.ru> | 2022-02-22 21:18:02 +0300 |
---|---|---|
committer | dinmukhammed <dinmukhammed@yandex-team.ru> | 2022-02-22 21:18:02 +0300 |
commit | 31430783bc860af117f3416f7948a21a6535c7a0 (patch) | |
tree | fafac20d79b54b3c8e828215c0210bac4e2e755b | |
parent | 676d0708782b1bb1bbf38aff1d33235f3004185d (diff) | |
download | ydb-31430783bc860af117f3416f7948a21a6535c7a0.tar.gz |
YQ-893 TSVWithNames --> tsv_with_names
canonized
ref:cf61bf4c10995aab6ed9f85a8609189c3d74fdfb
-rw-r--r-- | ydb/library/yql/udfs/common/clickhouse/client/src/Core/Settings.h | 4 | ||||
-rw-r--r-- | ydb/library/yql/udfs/common/clickhouse/client/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ydb/library/yql/udfs/common/clickhouse/client/src/Core/Settings.h b/ydb/library/yql/udfs/common/clickhouse/client/src/Core/Settings.h index 1b2bb994879..ca20f9959bf 100644 --- a/ydb/library/yql/udfs/common/clickhouse/client/src/Core/Settings.h +++ b/ydb/library/yql/udfs/common/clickhouse/client/src/Core/Settings.h @@ -535,8 +535,8 @@ class IColumn; M(Bool, input_format_csv_unquoted_null_literal_as_null, false, "Consider unquoted NULL literal as \\N", 0) \ M(Bool, input_format_csv_enum_as_number, false, "Treat inserted enum values in CSV formats as enum indices \\N", 0) \ M(Bool, input_format_csv_arrays_as_nested_csv, false, R"(When reading Array from CSV, expect that its elements were serialized in nested CSV and then put into string. Example: "[""Hello"", ""world"", ""42"""" TV""]". Braces around array can be omitted.)", 0) \ - M(Bool, input_format_skip_unknown_fields, false, "Skip columns with unknown names from input data (it works for json_each_row, csv_with_names, TSVWithNames and TSKV formats).", 0) \ - M(Bool, input_format_with_names_use_header, true, "For TSVWithNames and csv_with_names input formats this controls whether format parser is to assume that column data appear in the input exactly as they are specified in the header.", 0) \ + M(Bool, input_format_skip_unknown_fields, false, "Skip columns with unknown names from input data (it works for json_each_row, csv_with_names, tsv_with_names and TSKV formats).", 0) \ + M(Bool, input_format_with_names_use_header, true, "For tsv_with_names and csv_with_names input formats this controls whether format parser is to assume that column data appear in the input exactly as they are specified in the header.", 0) \ M(Bool, input_format_import_nested_json, false, "Map nested JSON data to nested tables (it works for json_each_row format).", 0) \ M(Bool, input_format_defaults_for_omitted_fields, true, "For input data calculate default expressions for omitted fields (it works for json_each_row, CSV and TSV formats).", IMPORTANT) \ M(Bool, input_format_tsv_empty_as_default, false, "Treat empty fields in TSV input as default values.", 0) \ diff --git a/ydb/library/yql/udfs/common/clickhouse/client/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp b/ydb/library/yql/udfs/common/clickhouse/client/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp index 5d56ed1327e..436a76427d1 100644 --- a/ydb/library/yql/udfs/common/clickhouse/client/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp +++ b/ydb/library/yql/udfs/common/clickhouse/client/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp @@ -409,7 +409,7 @@ void registerInputFormatProcessorTabSeparated(FormatFactory & factory) }); } - for (const auto * name : {"TabSeparatedWithNames", "TSVWithNames"}) + for (const auto * name : {"TabSeparatedWithNames", "tsv_with_names"}) { factory.registerInputFormatProcessor(name, []( ReadBuffer & buf, @@ -473,7 +473,7 @@ static std::pair<bool, size_t> fileSegmentationEngineTabSeparatedImpl(ReadBuffer void registerFileSegmentationEngineTabSeparated(FormatFactory & factory) { // We can use the same segmentation engine for TSKV. - for (const auto & name : {"TabSeparated", "TSV", "TSKV", "TabSeparatedWithNames", "TSVWithNames"}) + for (const auto & name : {"TabSeparated", "TSV", "TSKV", "TabSeparatedWithNames", "tsv_with_names"}) { factory.registerFileSegmentationEngine(name, &fileSegmentationEngineTabSeparatedImpl); } |