mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-12-23 11:12:51 +00:00
Remove databricks dialect guard
This commit is contained in:
parent
d0bed07152
commit
b3534992a0
1 changed files with 1 additions and 3 deletions
|
|
@ -15358,9 +15358,7 @@ impl<'a> Parser<'a> {
|
|||
let func_name = self.parse_object_name(true)?;
|
||||
let func = self.parse_function(func_name)?;
|
||||
return Ok(Some(TableVersion::Function(func)));
|
||||
} else if dialect_of!(self is DatabricksDialect)
|
||||
&& self.parse_keywords(&[Keyword::TIMESTAMP, Keyword::AS, Keyword::OF])
|
||||
{
|
||||
} else if self.parse_keywords(&[Keyword::TIMESTAMP, Keyword::AS, Keyword::OF]) {
|
||||
let expr = self.parse_expr()?;
|
||||
return Ok(Some(TableVersion::TimestampAsOf(expr)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue