-
Notifications
You must be signed in to change notification settings - Fork 676
Databricks: Support Timetravel With "TIMESTAMP AS OF" #2134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
8691ead
bb92c8b
324ade9
d0bed07
b353499
759406f
21783cc
270c41b
8cabd94
bf6a29f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15137,6 +15137,11 @@ 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]) | ||
| { | ||
| let expr = self.parse_expr()?; | ||
| return Ok(Some(TableVersion::TimestampAsOf(expr))); | ||
| } | ||
| } | ||
| Ok(None) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.