risingwave_frontend::handler::create_source

Function bind_all_columns

source
pub(crate) fn bind_all_columns(
    format_encode: &FormatEncodeOptions,
    cols_from_source: Option<Vec<ColumnCatalog>>,
    cols_from_sql: Vec<ColumnCatalog>,
    col_defs_from_sql: &[ColumnDef],
    wildcard_idx: Option<usize>,
) -> Result<Vec<ColumnCatalog>, RwError>
Expand description

Bind columns from both source and sql defined.