pub type PbFastInsertRequest = FastInsertRequest;Aliased Type§
pub struct PbFastInsertRequest {
pub table_id: TypedId<1>,
pub table_version_id: u64,
pub column_indices: Vec<u32>,
pub data_chunk: Option<DataChunk>,
pub row_id_index: Option<u32>,
pub request_id: u32,
pub wait_for_persistence: bool,
}Fields§
§table_id: TypedId<1>Id of the table to perform inserting.
table_version_id: u64Version of the table.
column_indices: Vec<u32>§data_chunk: Option<DataChunk>§row_id_index: Option<u32>An optional field and will be None for tables without user-defined pk.
The BatchInsertExecutor should add a column with NULL value which will
be filled in streaming.
request_id: u32Use this number to assign the insert req to different worker nodes and dml channels.
wait_for_persistence: boolTODO(kexiang): add support for default columns. plan_common.ExprContext expr_context is needed for it.