Skip to content

Commit b060984

Browse files
committed
Merge branch 'main' of https://github.com/ClickHouse/clickhouse-docs into diataxis-llm
2 parents c4b256c + 05a79a5 commit b060984

File tree

1 file changed

+1
-1
lines changed
  • docs/integrations/data-ingestion/data-formats/json

1 file changed

+1
-1
lines changed

docs/integrations/data-ingestion/data-formats/json/other.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ SELECT JSONExtractString(tags, 'holidays') AS holidays FROM people
7171
1 row in set. Elapsed: 0.002 sec.
7272
```
7373

74-
Notice how the functions require both a reference to the `String` column `tags` and a path in the JSON to extract. Nested paths require functions to be nested e.g. `JSONExtractUInt(JSONExtractString(tags, 'car'), 'year')` which extracts the column `tags.car.year`. The extraction of nested paths can be simplified through the functions [`JSON_QUERY`](/sql-reference/functions/json-functions#JSON_QUERY) and [`JSON_VALUE`](/sql-reference/functions/json-functions#json_value).
74+
Notice how the functions require both a reference to the `String` column `tags` and a path in the JSON to extract. Nested paths require functions to be nested e.g. `JSONExtractUInt(JSONExtractString(tags, 'car'), 'year')` which extracts the column `tags.car.year`. The extraction of nested paths can be simplified through the functions [`JSON_QUERY`](/sql-reference/functions/json-functions#JSON_QUERY) and [`JSON_VALUE`](/sql-reference/functions/json-functions#JSON_VALUE).
7575

7676
Consider the extreme case with the `arxiv` dataset where we consider the entire body to be a `String`.
7777

0 commit comments

Comments
 (0)