mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-09-08 23:20:34 +00:00
Parse MILLENNIUM
(#633)
* add unknown, is not true/false/unknown * millennium
This commit is contained in:
parent
e951cd5278
commit
d87408bdaf
4 changed files with 6 additions and 0 deletions
|
@ -1065,6 +1065,7 @@ impl<'a> Parser<'a> {
|
|||
Keyword::JULIAN => Ok(DateTimeField::Julian),
|
||||
Keyword::MICROSECONDS => Ok(DateTimeField::Microseconds),
|
||||
Keyword::MILLENIUM => Ok(DateTimeField::Millenium),
|
||||
Keyword::MILLENNIUM => Ok(DateTimeField::Millennium),
|
||||
Keyword::MILLISECONDS => Ok(DateTimeField::Milliseconds),
|
||||
Keyword::QUARTER => Ok(DateTimeField::Quarter),
|
||||
Keyword::TIMEZONE => Ok(DateTimeField::Timezone),
|
||||
|
@ -1144,6 +1145,7 @@ impl<'a> Parser<'a> {
|
|||
Keyword::JULIAN,
|
||||
Keyword::MICROSECONDS,
|
||||
Keyword::MILLENIUM,
|
||||
Keyword::MILLENNIUM,
|
||||
Keyword::MILLISECONDS,
|
||||
Keyword::QUARTER,
|
||||
Keyword::TIMEZONE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue