We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0bed07 commit b353499Copy full SHA for b353499
1 file changed
src/parser/mod.rs
@@ -15358,9 +15358,7 @@ impl<'a> Parser<'a> {
15358
let func_name = self.parse_object_name(true)?;
15359
let func = self.parse_function(func_name)?;
15360
return Ok(Some(TableVersion::Function(func)));
15361
- } else if dialect_of!(self is DatabricksDialect)
15362
- && self.parse_keywords(&[Keyword::TIMESTAMP, Keyword::AS, Keyword::OF])
15363
- {
+ } else if self.parse_keywords(&[Keyword::TIMESTAMP, Keyword::AS, Keyword::OF]) {
15364
let expr = self.parse_expr()?;
15365
return Ok(Some(TableVersion::TimestampAsOf(expr)));
15366
}
0 commit comments