risingwave_pb::batch_plan

Type Alias PbUpdateNode

source
pub type PbUpdateNode = UpdateNode;
Expand description

Alias for UpdateNode.

Aliased Type§

struct PbUpdateNode {
    pub table_id: u32,
    pub table_version_id: u64,
    pub old_exprs: Vec<ExprNode>,
    pub new_exprs: Vec<ExprNode>,
    pub returning: bool,
    pub session_id: u32,
}

Fields§

§table_id: u32

Id of the table to perform updating.

§table_version_id: u64

Version of the table.

§old_exprs: Vec<ExprNode>

Expressions to generate U- records.

§new_exprs: Vec<ExprNode>

Expressions to generate U+ records.

§returning: bool§session_id: u32

Session id is used to ensure that dml data from the same session should be sent to a fixed worker node and channel.