diff --git a/tests/integration/test_hive_query/test.py b/tests/integration/test_hive_query/test.py index b41c2dcd8a3..a498320ed5b 100644 --- a/tests/integration/test_hive_query/test.py +++ b/tests/integration/test_hive_query/test.py @@ -146,6 +146,8 @@ def test_orc_groupby(started_cluster): node = started_cluster.instances["h0_0_0"] result = node.query( """ + DROP TABLE IF EXISTS default.demo_orc; + CREATE TABLE default.demo_orc (`id` Nullable(String), `score` Nullable(Int32), `day` Nullable(String)) ENGINE = Hive('thrift://hivetest:9083', 'test', 'demo_orc') PARTITION BY(day); SELECT day, count(*) FROM default.demo_orc group by day order by day """ ) @@ -329,6 +331,8 @@ def test_text_count(started_cluster): node = started_cluster.instances["h0_0_0"] result = node.query( """ + DROP TABLE IF EXISTS default.demo_orc; + CREATE TABLE default.demo_orc (`id` Nullable(String), `score` Nullable(Int32), `day` Nullable(String)) ENGINE = Hive('thrift://hivetest:9083', 'test', 'demo_orc') PARTITION BY(day); SELECT day, count(*) FROM default.demo_orc group by day order by day SETTINGS format_csv_delimiter = '\x01' """ )