pub enum Partition {
Identifier(Ident),
Expr(Expr),
Part(Expr),
Partitions(Vec<Expr>),
}Expand description
PARTITION statement used in ALTER TABLE et al. such as in Hive and ClickHouse SQL. For example, ClickHouse’s OPTIMIZE TABLE supports syntax like PARTITION ID ‘partition_id’ and PARTITION expr. ClickHouse
ClickHouse supports PARTITION ID ‘partition_id’ syntax.
ClickHouse supports PARTITION expr syntax.
ClickHouse supports PART expr which represents physical partition in disk. ClickHouse
Hive supports multiple partitions in PARTITION (part1, part2, …) syntax.