pub type PbUserDefinedFunction = UserDefinedFunction;Aliased Type§
pub struct PbUserDefinedFunction {Show 16 fields
pub children: Vec<ExprNode>,
pub name: String,
pub arg_names: Vec<String>,
pub arg_types: Vec<DataType>,
pub language: String,
pub link: Option<String>,
pub identifier: Option<String>,
pub body: Option<String>,
pub compressed_binary: Option<Vec<u8>>,
pub always_retry_on_network_error: bool,
pub runtime: Option<String>,
pub is_async: Option<bool>,
pub is_batched: Option<bool>,
pub unsafe_skip_materializing_exprs: bool,
pub is_immutable: bool,
pub version: i32,
}Fields§
§children: Vec<ExprNode>§name: String§arg_names: Vec<String>§arg_types: Vec<DataType>§language: String§link: Option<String>The link to the external function service.
identifier: Option<String>This is re-interpreted as name_in_runtime.
body: Option<String>- If
languageisjavascriptorpython, the source code of the function.
compressed_binary: Option<Vec<u8>>- If
languageisrustorwasm, the zstd-compressed wasm binary.
always_retry_on_network_error: bool§runtime: Option<String>The runtime selected when multiple runtimes are available for the language. Now is not used.
is_async: Option<bool>additional options for javascript functions
is_batched: Option<bool>§unsafe_skip_materializing_exprs: boolUnsafe: whether to skip materializing evaluated results of this function for retractable streams. This must travel with persisted expressions, such as generated columns.
is_immutable: boolWhether the function is declared IMMUTABLE. This must travel with persisted expressions,
such as generated columns.
version: i32