Skip to content

Commit 76957a2

Browse files
Merge pull request ClickHouse#80362 from ClickHouse/Blargian-patch-14
Docs: clarify `input_format_try_infer_integers` relation to JSON type
2 parents 73ad174 + 4bc4af6 commit 76957a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/en/interfaces/schema-inference.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,6 +1449,10 @@ DESC format(JSONEachRow, $$
14491449

14501450
#### input_format_try_infer_integers {#input-format-try-infer-integers}
14511451

1452+
:::note
1453+
This setting does not apply to the `JSON` data type.
1454+
:::
1455+
14521456
If enabled, ClickHouse will try to infer integers instead of floats in schema inference for text formats.
14531457
If all numbers in the column from sample data are integers, the result type will be `Int64`, if at least one number is float, the result type will be `Float64`.
14541458
If the sample data contains only integers and at least one integer is positive and overflows `Int64`, ClickHouse will infer `UInt64`.

0 commit comments

Comments
 (0)