Skip to content

Commit 9594c18

Browse files
Added input_format_json_throw_on_bad_escape_sequence field in ClickhouseSettings type (#355)
1 parent 45c357d commit 9594c18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/client-common/src/settings.ts

+2
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,8 @@ interface ClickHouseServerSettings {
619619
input_format_json_read_numbers_as_strings?: Bool
620620
/** Allow to parse JSON objects as strings in JSON input formats */
621621
input_format_json_read_objects_as_strings?: Bool
622+
/** Throw an exception if JSON string contains bad escape sequence. If disabled, bad escape sequences will remain as is in the data. Default value - true. */
623+
input_format_json_throw_on_bad_escape_sequence?: Bool
622624
/** Try to infer numbers from string fields while schema inference */
623625
input_format_json_try_infer_numbers_from_strings?: Bool
624626
/** For JSON/JSONCompact/JSONColumnsWithMetadata input formats this controls whether format parser should check if data types from input metadata match data types of the corresponding columns from the table */

0 commit comments

Comments
 (0)