mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-09-09 15:40:32 +00:00
add Date keyword (#691)
This commit is contained in:
parent
b671dc62d3
commit
f0646c8c1a
3 changed files with 4 additions and 0 deletions
|
@ -1082,6 +1082,7 @@ impl<'a> Parser<'a> {
|
|||
Keyword::MONTH => Ok(DateTimeField::Month),
|
||||
Keyword::WEEK => Ok(DateTimeField::Week),
|
||||
Keyword::DAY => Ok(DateTimeField::Day),
|
||||
Keyword::DATE => Ok(DateTimeField::Date),
|
||||
Keyword::HOUR => Ok(DateTimeField::Hour),
|
||||
Keyword::MINUTE => Ok(DateTimeField::Minute),
|
||||
Keyword::SECOND => Ok(DateTimeField::Second),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue