Add support for Snowflake AT/BEFORE (#1667)

This commit is contained in:
Yoav Cohen 2025-01-19 12:08:45 +01:00 committed by GitHub
parent 44df6d6f92
commit 5da702fc19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 48 additions and 12 deletions

View file

@ -3051,3 +3051,10 @@ fn test_sql_keywords_as_select_item_aliases() {
.is_err());
}
}
#[test]
fn test_timetravel_at_before() {
snowflake().verified_only_select("SELECT * FROM tbl AT(TIMESTAMP => '2024-12-15 00:00:00')");
snowflake()
.verified_only_select("SELECT * FROM tbl BEFORE(TIMESTAMP => '2024-12-15 00:00:00')");
}