mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Fix style
Signed-off-by: Ziy1-Tan <ajb459684460@gmail.com>
This commit is contained in:
parent
5aa9dae09b
commit
bb44a38efe
@ -257,11 +257,15 @@ def main():
|
||||
pathname = CSV_DATA
|
||||
filename = os.path.basename(CSV_DATA)
|
||||
select_virtual_requests = {
|
||||
"select _path from {tbl}": '\n'.join([pathname]for _ in range(2)),
|
||||
"select _file from {tbl}": '\n'.join([filename]for _ in range(2)),
|
||||
"select _file, from {tbl} order by _path": '\n'.join([filename]for _ in range(2)),
|
||||
"select _path, _file from {tbl}": '\n'.join(f'{pathname}\t{filename}' for _ in range(2)),
|
||||
"select _path, count(*) from {tbl} group by _path": f'{pathname}\t2',
|
||||
"select _path from {tbl}": "\n".join([pathname] for _ in range(2)),
|
||||
"select _file from {tbl}": "\n".join([filename] for _ in range(2)),
|
||||
"select _file, from {tbl} order by _path": "\n".join(
|
||||
[filename] for _ in range(2)
|
||||
),
|
||||
"select _path, _file from {tbl}": "\n".join(
|
||||
f"{pathname}\t{filename}" for _ in range(2)
|
||||
),
|
||||
"select _path, count(*) from {tbl} group by _path": f"{pathname}\t2",
|
||||
}
|
||||
|
||||
t, httpd = start_server()
|
||||
|
Loading…
Reference in New Issue
Block a user