risingwave_frontend::handler::alter_source_with_sr

Function check_format_encode

source
pub fn check_format_encode(
    original_source: &SourceCatalog,
    new_format_encode: &FormatEncodeOptions,
) -> Result<(), RwError>
Expand description

Check if the original source is created with FORMAT .. ENCODE .. clause, and if the FORMAT and ENCODE are modified.