Fix flaky test test_skip_empty_files

This commit is contained in:
Kruglov Pavel 2023-06-26 13:30:51 +02:00 committed by GitHub
parent eb649873b3
commit 9af56624f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1776,7 +1776,7 @@ def test_skip_empty_files(started_cluster):
assert int(res) == 0
res = instance.query(
f"select * from url('http://{started_cluster.minio_host}:{started_cluster.minio_port}/{bucket}/skip_empty_files{{11|1|22}}.parquet') settings engine_url_skip_empty_files=1"
f"select * from url('http://{started_cluster.minio_host}:{started_cluster.minio_port}/{bucket}/skip_empty_files{{11|1|22}}.parquet', auto, 'number UInt64') settings engine_url_skip_empty_files=1"
)
assert len(res.strip()) == 0