Skip to content
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

[FEATURE] support for Snowflake time travel syntax #1960

Open
davidjgoss opened this issue Feb 7, 2024 · 0 comments
Open

[FEATURE] support for Snowflake time travel syntax #1960

davidjgoss opened this issue Feb 7, 2024 · 0 comments
Assignees

Comments

@davidjgoss
Copy link
Contributor

Grammar or Syntax Description

Snowflake supports an AT | BEFORE clause in SELECT statements to enable time travel functionality. This currently causes the statement to be unparseable.

SQL Example

SELECT * FROM my_table AT(TIMESTAMP => TO_TIMESTAMP(1432669154242, 3));

SELECT * FROM my_table AT(OFFSET => -60*5) AS T WHERE T.flag = 'valid';

SELECT * FROM my_table BEFORE(STATEMENT => '8e5d0ca9-005e-44e6-b858-a8f5b37c5726');

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants