ComputedColumn

data class ComputedColumn(val name: String, val type: String, val expression: String)

A column of _state that ClickHouse computes from its stored columns when a row is inserted (MATERIALIZED): its name, its type as system.columns reads it, and the expression it is. Its comment keeps its fingerprint (wow:<fingerprint>), the first 16 hex digits of the SHA-256 of its type and expression, by which a writer tells a column it expects from one of another definition: system.columns reads the expression back reformatted.

Constructors

Link copied to clipboard
constructor(name: String, type: String, expression: String)

Types

Link copied to clipboard

Properties

Link copied to clipboard

What the column's comment says.

Link copied to clipboard

The column's definition in a CREATE TABLE or an ADD COLUMN.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard