mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Fix style check
This commit is contained in:
parent
55994afe0c
commit
0e04c2cbc8
@ -92,9 +92,7 @@ def test_executable_function_input_python(started_cluster):
|
||||
== "Key 0\nKey 1\nKey 2\n"
|
||||
)
|
||||
|
||||
query = (
|
||||
"SELECT * FROM executable('input.py', 'TabSeparated', (SELECT 'value String'), {source})"
|
||||
)
|
||||
query = "SELECT * FROM executable('input.py', 'TabSeparated', (SELECT 'value String'), {source})"
|
||||
assert node.query(query.format(source="(SELECT 1)")) == "Key 1\n"
|
||||
assert (
|
||||
node.query(query.format(source="(SELECT id FROM test_data_table)"))
|
||||
@ -102,9 +100,7 @@ def test_executable_function_input_python(started_cluster):
|
||||
)
|
||||
|
||||
node.query("CREATE FUNCTION test_function AS () -> 'value String';")
|
||||
query = (
|
||||
"SELECT * FROM executable('input.py', 'TabSeparated', (SELECT test_function()), {source})"
|
||||
)
|
||||
query = "SELECT * FROM executable('input.py', 'TabSeparated', (SELECT test_function()), {source})"
|
||||
assert node.query(query.format(source="(SELECT 1)")) == "Key 1\n"
|
||||
assert (
|
||||
node.query(query.format(source="(SELECT id FROM test_data_table)"))
|
||||
|
Loading…
Reference in New Issue
Block a user