Skip to main content
Querying in ClickHouse CloudThe data in this system table is held locally on each node in ClickHouse Cloud. Obtaining a complete view of all data, therefore, requires the clusterAllReplicas function. See here for further details.

Description

Contains information about all cached file schemas.

Columns

  • storage (String) — Storage name: File, URL, S3 or HDFS.
  • source (String) — File source.
  • format (String) — Format name.
  • additional_format_info (String) — Additional information required to identify the schema. For example, format specific settings.
  • registration_time (DateTime) — Timestamp when schema was added in cache.
  • schema (Nullable(String)) — Cached schema.
  • number_of_rows (Nullable(UInt64)) — Number of rows in the file in given format. It’s used for caching trivial count() from data files and for caching number of rows from the metadata during schema inference.
  • schema_inference_mode (Nullable(String)) — Scheme inference mode.

Example

Let’s say we have a file data.jsonl with this content:
Place data.jsonl in the user_files_path directory. You can find this by looking in your ClickHouse configuration files. The default is:
Open clickhouse-client and run the DESCRIBE query:
Let’s see the content of the system.schema_inference_cache table:

See Also

Last modified on June 23, 2026