mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-10 05:52:13 +00:00
snowflake/generic: position
can be the name of a column (#1022)
Co-authored-by: Lukasz Stefaniak <lustefaniak@gmail.com>
This commit is contained in:
parent
ce62fe6d27
commit
2798b65b42
2 changed files with 9 additions and 1 deletions
|
@ -794,7 +794,9 @@ impl<'a> Parser<'a> {
|
|||
Keyword::EXTRACT => self.parse_extract_expr(),
|
||||
Keyword::CEIL => self.parse_ceil_floor_expr(true),
|
||||
Keyword::FLOOR => self.parse_ceil_floor_expr(false),
|
||||
Keyword::POSITION => self.parse_position_expr(),
|
||||
Keyword::POSITION if self.peek_token().token == Token::LParen => {
|
||||
self.parse_position_expr()
|
||||
}
|
||||
Keyword::SUBSTRING => self.parse_substring_expr(),
|
||||
Keyword::OVERLAY => self.parse_overlay_expr(),
|
||||
Keyword::TRIM => self.parse_trim_expr(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue