fix black

This commit is contained in:
Yarik Briukhovetskyi 2024-08-05 17:07:17 +02:00 committed by GitHub
parent 9b06753bb7
commit d080f863ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -675,7 +675,9 @@ def test_virtual_columns_2(started_cluster):
table_function = (
f"hdfs('hdfs://hdfs1:9000/parquet_2', 'Parquet', 'a Int32, b String')"
)
node1.query(f"insert into table function {table_function} SELECT 1, 'kek' SETTINGS hdfs_truncate_on_insert=1")
node1.query(
f"insert into table function {table_function} SELECT 1, 'kek' SETTINGS hdfs_truncate_on_insert=1"
)
result = node1.query(f"SELECT _path FROM {table_function}")
assert result.strip() == "parquet_2"
@ -683,7 +685,9 @@ def test_virtual_columns_2(started_cluster):
table_function = (
f"hdfs('hdfs://hdfs1:9000/parquet_3', 'Parquet', 'a Int32, _path String')"
)
node1.query(f"insert into table function {table_function} SELECT 1, 'kek' SETTINGS hdfs_truncate_on_insert=1")
node1.query(
f"insert into table function {table_function} SELECT 1, 'kek' SETTINGS hdfs_truncate_on_insert=1"
)
result = node1.query(f"SELECT _path FROM {table_function}")
assert result.strip() == "kek"