Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Importing JSON into ClickHouse
ClickHouse supports a wide range of data formats for input and output. There are multiple JSON variations among them, but the most commonly used for data ingestion is JSONEachRow. It expects one JSON object per row, each object separated by a newline.Examples
Using HTTP interface:Useful Settings
input_format_skip_unknown_fieldsallows to insert JSON even if there were additional fields not present in table schema (by discarding them).input_format_import_nested_jsonallows to insert nested JSON objects into columns of Nested type.
Settings are specified as
GET parameters for the HTTP interface or as additional command-line arguments prefixed with -- for the CLI interface.