mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-02 05:02:16 +00:00
Fix incorrect parsing of JsonAccess bracket notation after cast in Snowflake (#1708)
This commit is contained in:
parent
0b8ba91156
commit
86abbd6028
6 changed files with 53 additions and 10 deletions
|
@ -253,6 +253,11 @@ impl Dialect for PostgreSqlDialect {
|
|||
fn supports_numeric_literal_underscores(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
/// See: <https://www.postgresql.org/docs/current/arrays.html#ARRAYS-DECLARATION>
|
||||
fn supports_array_typedef_size(&self) -> bool {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
pub fn parse_create(parser: &mut Parser) -> Option<Result<Statement, ParserError>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue