| format_csv_delimiter | 在 CSV 数据中用作分隔符的字符。 | , | |
| format_csv_allow_single_quotes | 允许使用单引号括起来的字符串。 | true | |
| format_csv_allow_double_quotes | 允许使用双引号括起来的字符串。 | true | |
| format_csv_null_representation | CSV 格式 中自定义的 NULL 表示形式。 | \N | |
| input_format_csv_empty_as_default | 将 CSV 输入中的空字段视为默认值。 | true | 对于复杂的默认表达式,还必须启用 input_format_defaults_for_omitted_fields。 |
| input_format_csv_missing_nullable_as_empty_string | 将缺失的 Nullable(String) 值读取为空字符串而不是 NULL,而不受 input_format_csv_empty_as_default 的影响。 | false | |
| input_format_csv_enum_as_number | 将在 CSV 格式 中插入的枚举值视为枚举索引。 | false | |
| input_format_csv_use_best_effort_in_schema_inference | 在 CSV 格式 的 schema inference 中使用一些优化和 heuristic。如果禁用,所有字段都会被推断为 String。 | true | |
| input_format_csv_arrays_as_nested_csv | 从 CSV 读取 数组 时,要求其 elements 先按嵌套 CSV 进行序列化,再放入字符串中。 | false | |
| output_format_csv_crlf_end_of_line | 如果设置为 true,CSV output format 的行尾将使用 \r\n 而不是 \n。 | false | |
| input_format_csv_skip_first_lines | 跳过数据开头指定数量的行。 | 0 | |
| input_format_csv_detect_header | 自动检测 CSV 格式 中包含 names 和 types 的 header。 | true | |
| input_format_csv_skip_trailing_empty_lines | 跳过数据末尾的 trailing empty lines。 | false | |
| input_format_csv_trim_whitespaces | 去除未加引号的 CSV 字符串中的空格和制表符。 | true | |
| input_format_csv_allow_whitespace_or_tab_as_delimiter | 允许在 CSV 字符串中使用空白字符或制表符作为字段分隔符。 | false | |
| input_format_csv_allow_variable_number_of_columns | 允许 CSV 格式 中的列数可变,忽略多余的列,并为缺失列使用默认值。 | false | |
| input_format_csv_use_default_on_bad_values | 当 CSV field 因错误值导致 deserialization 失败时,允许为该列设置默认值。 | false | |
| input_format_csv_try_infer_numbers_from_strings | 在 schema inference 期间,尝试从 string fields 中推断数值。 | false | |