From 42a1548cecf48d18233f56e3385cf9c89abcb9c2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 3 Mar 2024 15:11:07 +0100 Subject: Merging upstream version 22.2.0. Signed-off-by: Daniel Baumann --- tests/dialects/test_hive.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'tests/dialects/test_hive.py') diff --git a/tests/dialects/test_hive.py b/tests/dialects/test_hive.py index ea28f29..b892dd6 100644 --- a/tests/dialects/test_hive.py +++ b/tests/dialects/test_hive.py @@ -440,6 +440,9 @@ class TestHive(Validator): self.validate_identity( "SELECT key, value, GROUPING__ID, COUNT(*) FROM T1 GROUP BY key, value WITH ROLLUP" ) + self.validate_identity( + "TRUNCATE TABLE t1 PARTITION(age = 10, name = 'test', address = 'abc')" + ) self.validate_all( "SELECT ${hiveconf:some_var}", @@ -611,12 +614,6 @@ class TestHive(Validator): "spark": "GET_JSON_OBJECT(x, '$.name')", }, ) - self.validate_all( - "STRUCT(a = b, c = d)", - read={ - "snowflake": "OBJECT_CONSTRUCT(a, b, c, d)", - }, - ) self.validate_all( "MAP(a, b, c, d)", read={ -- cgit v1.2.3