clickhouse-docs icon indicating copy to clipboard operation
clickhouse-docs copied to clipboard

Missing settings description on input_format_*_detect_header

Open Tiaonmmn opened this issue 2 years ago • 1 comments

Describe the issue On TabSeparated format settings of "Formats for Input and Output Data",the setting input_format_tsv_detect_header is missing documents on both Core Settings and Format settings. On CSV format settings of "Formats for Input and Output Data",the setting input_format_csv_detect_header is missing documents on both Core Settings and Format settings.

The settings exist in source code of src/Core/Settings.h and various tests.

Tiaonmmn avatar Sep 09 '23 08:09 Tiaonmmn

dell9510 :) select name, description from system.settings where name like 'input_format_%_detect_header'

SELECT
    name,
    description
FROM system.settings
WHERE name LIKE 'input_format_%_detect_header'

Query id: ecf0a9a2-95e0-40d4-b48b-67bdc02db6cf

┌─name──────────────────────────────┬─description────────────────────────────────────────────────────────────────┐
│ input_format_csv_detect_header    │ Automatically detect header with names and types in CSV format             │
│ input_format_tsv_detect_header    │ Automatically detect header with names and types in TSV format             │
│ input_format_custom_detect_header │ Automatically detect header with names and types in CustomSeparated format │
└───────────────────────────────────┴────────────────────────────────────────────────────────────────────────────┘

3 rows in set. Elapsed: 0.023 sec. 

Feel free to send a PR that updates the documentation

tavplubix avatar Sep 11 '23 11:09 tavplubix

https://clickhouse.com/docs/en/operations/settings/formats#input_format_tsv_detect_header https://clickhouse.com/docs/en/operations/settings/formats#input_format_csv_detect_header https://clickhouse.com/docs/en/operations/settings/formats#input_format_custom_detect_header

also

https://clickhouse.com/docs/en/interfaces/formats#tabseparated-format-settings https://clickhouse.com/docs/en/interfaces/formats#tabseparated-format-settings

No longer an issue. closing.

gingerwizard avatar Dec 11 '24 10:12 gingerwizard