risingwave_common::types

Function literal_type_match

source
pub fn literal_type_match(
    data_type: &DataType,
    literal: Option<&ScalarImpl>,
) -> bool
Expand description

Returns whether the literal matches the data_type.