pub(crate) fn create_partitions_stmt( partitions: Vec<PartitionInfo>, ) -> Result<Option<Partitions>>