mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
tests: fix test_hive_query flakiness
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
d4b9fe41be
commit
00d4ac542d
@ -146,6 +146,8 @@ def test_orc_groupby(started_cluster):
|
|||||||
node = started_cluster.instances["h0_0_0"]
|
node = started_cluster.instances["h0_0_0"]
|
||||||
result = node.query(
|
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
|
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"]
|
node = started_cluster.instances["h0_0_0"]
|
||||||
result = node.query(
|
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'
|
SELECT day, count(*) FROM default.demo_orc group by day order by day SETTINGS format_csv_delimiter = '\x01'
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user