Fix error in a test

This commit is contained in:
Alexey Milovidov 2023-07-19 01:08:14 +02:00
parent 6a61786959
commit 3715c7f461

View File

@ -24,4 +24,4 @@ ${CLICKHOUSE_CLIENT} -q "system flush logs"
# Here for mutation all values are 0, cause mutation is executed async.
# It's pretty hard to write a test with total counter.
${CLICKHOUSE_CLIENT} -q "select ProfileEvents['SelectedRows'] > 10, ProfileEvents['SelectedBytes'], ProfileEvents['MergedRows'], ProfileEvents['MergedUncompressedBytes'] from system.query_log where query_id = '$query_id' and type = 'QueryFinish' and query like 'alter%' and current_database = currentDatabase()"
${CLICKHOUSE_CLIENT} -q "select ProfileEvents['SelectedRows'] > 10, ProfileEvents['SelectedBytes'] > 1000, ProfileEvents['MergedRows'], ProfileEvents['MergedUncompressedBytes'] from system.query_log where query_id = '$query_id' and type = 'QueryFinish' and query like 'alter%' and current_database = currentDatabase()"