mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-09-04 13:10:31 +00:00
feat: support JSON keyword (#799)
* feat: support json keyword for bigquery * chore: fix test --------- Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
This commit is contained in:
parent
488e8a8156
commit
79009f5448
3 changed files with 56 additions and 0 deletions
|
@ -4365,6 +4365,7 @@ impl<'a> Parser<'a> {
|
|||
// qualifier that we don't currently support. See
|
||||
// parse_interval for a taste.
|
||||
Keyword::INTERVAL => Ok(DataType::Interval),
|
||||
Keyword::JSON => Ok(DataType::JSON),
|
||||
Keyword::REGCLASS => Ok(DataType::Regclass),
|
||||
Keyword::STRING => Ok(DataType::String),
|
||||
Keyword::TEXT => Ok(DataType::Text),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue