Skip to main content
Skip to main content

mergeTreeProjection Table Function

Represents the contents of some projection in MergeTree tables. It can be used for introspection.

Arguments

  • database- The database name to read projection from.
  • table- The table name to read projection from.
  • projection - The projection to read from.

Returned Value

A table object with columns provided by given projection.

Usage Example

Try ClickHouse Cloud for FREE

Separation of storage and compute, automatic scaling, built-in SQL console, and lots more. $300 in free credits when signing up.

Try it for Free