From fc2b129d31cbb474bbebfa0baa8537238f6332ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 3 Jun 2024 22:07:58 +0200 Subject: Adding upstream version 24.1.0. Signed-off-by: Daniel Baumann --- tests/dialects/test_hive.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/dialects/test_hive.py') diff --git a/tests/dialects/test_hive.py b/tests/dialects/test_hive.py index dfce446..3ebaded 100644 --- a/tests/dialects/test_hive.py +++ b/tests/dialects/test_hive.py @@ -406,7 +406,9 @@ class TestHive(Validator): self.validate_identity("(VALUES (1 AS a, 2 AS b, 3))") self.validate_identity("SELECT * FROM my_table TIMESTAMP AS OF DATE_ADD(CURRENT_DATE, -1)") self.validate_identity("SELECT * FROM my_table VERSION AS OF DATE_ADD(CURRENT_DATE, -1)") - + self.validate_identity( + "SELECT WEEKOFYEAR('2024-05-22'), DAYOFMONTH('2024-05-22'), DAYOFWEEK('2024-05-22')" + ) self.validate_identity( "SELECT ROW() OVER (DISTRIBUTE BY x SORT BY y)", "SELECT ROW() OVER (PARTITION BY x ORDER BY y)", -- cgit v1.2.3