mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-12-23 11:12:51 +00:00
Fix doc comments for PARTITION OF support.
This commit is contained in:
parent
f126c9395c
commit
4fc212fb91
2 changed files with 3 additions and 3 deletions
|
|
@ -3071,7 +3071,7 @@ impl fmt::Display for CreateTable {
|
|||
}
|
||||
}
|
||||
|
||||
/// PostgreSQL partition bound specification for PARTITION OF.
|
||||
/// PostgreSQL partition bound specification for `PARTITION OF`.
|
||||
///
|
||||
/// Specifies partition bounds for a child partition table.
|
||||
///
|
||||
|
|
|
|||
|
|
@ -8063,7 +8063,7 @@ impl<'a> Parser<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
/// Parse PostgreSQL partition bound specification for PARTITION OF.
|
||||
/// Parse [ForValues] of a `PARTITION OF` clause.
|
||||
///
|
||||
/// Parses: `FOR VALUES partition_bound_spec | DEFAULT`
|
||||
///
|
||||
|
|
@ -8106,7 +8106,7 @@ impl<'a> Parser<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
/// Parse a single partition bound value (MINVALUE, MAXVALUE, or expression).
|
||||
/// Parse a single [PartitionBoundValue].
|
||||
fn parse_partition_bound_value(&mut self) -> Result<PartitionBoundValue, ParserError> {
|
||||
if self.parse_keyword(Keyword::MINVALUE) {
|
||||
Ok(PartitionBoundValue::MinValue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue