operator::statement::ddl

Function parse_partitions

source
fn parse_partitions(
    create_table: &CreateTableExpr,
    partitions: Option<Partitions>,
    query_ctx: &QueryContextRef,
) -> Result<(Vec<Partition>, Vec<String>)>
Expand description

Parse partition statement Partitions into MetaPartition and partition columns.