risingwave_pb::plan_common

Type Alias PbDefaultColumnDesc

source
pub type PbDefaultColumnDesc = DefaultColumnDesc;
Expand description

Alias for DefaultColumnDesc.

Aliased Type§

struct PbDefaultColumnDesc {
    pub expr: Option<ExprNode>,
    pub snapshot_value: Option<Datum>,
}

Fields§

§expr: Option<ExprNode>

Expression of the DEFAULT. Used when inserting new records.

§snapshot_value: Option<Datum>

Evaluated value of the expression at the time of the table creation or the column addition. Used when filling the default value for the records where the column is missing.