operator::statement::ddl

Function find_partition_entries

source
fn find_partition_entries(
    create_table: &CreateTableExpr,
    partitions: &Option<Partitions>,
    partition_columns: &[String],
    query_ctx: &QueryContextRef,
) -> Result<Vec<Vec<PartitionBound>>>
Expand description

Parse Partitions into a group of partition entries.

Returns a list of PartitionBound, each of which defines a partition.