Fix style

This commit is contained in:
Kruglov Pavel 2022-04-20 16:34:05 +02:00 committed by GitHub
parent 813e228fcc
commit 6ddebf7d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -547,9 +547,7 @@ def test_schema_inference_with_globs(started_cluster):
filename = "data{1,3}.jsoncompacteachrow"
result = node1.query_and_get_error(
f"desc hdfs('hdfs://hdfs1:9000/{filename}')"
)
result = node1.query_and_get_error(f"desc hdfs('hdfs://hdfs1:9000/{filename}')")
assert "All attempts to extract table structure from files failed" in result
@ -563,7 +561,9 @@ def test_schema_inference_with_globs(started_cluster):
f"desc hdfs('hdfs://hdfs1:9000/data*.jsoncompacteachrow')"
)
assert "Cannot extract table structure from JSONCompactEachRow format file" in result
assert (
"Cannot extract table structure from JSONCompactEachRow format file" in result
)
def test_insert_select_schema_inference(started_cluster):