mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-12-23 11:12:51 +00:00
Snowflake: support for object constants (#1223)
This commit is contained in:
parent
2490034948
commit
deaa6d8151
6 changed files with 81 additions and 1 deletions
|
|
@ -1192,7 +1192,7 @@ impl<'a> Parser<'a> {
|
|||
self.prev_token();
|
||||
Ok(Expr::Value(self.parse_value()?))
|
||||
}
|
||||
Token::LBrace if dialect_of!(self is DuckDbDialect | GenericDialect) => {
|
||||
Token::LBrace if self.dialect.supports_dictionary_syntax() => {
|
||||
self.prev_token();
|
||||
self.parse_duckdb_struct_literal()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue