mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
Added tests
This commit is contained in:
parent
2a8e479277
commit
482c8f667c
@ -0,0 +1 @@
|
|||||||
|
0
|
@ -0,0 +1,10 @@
|
|||||||
|
SELECT number FROM numbers(10) WHERE number > 15 and test_function(number, number) == 4;
|
||||||
|
|
||||||
|
SYSTEM FLUSH LOGS;
|
||||||
|
|
||||||
|
SELECT ProfileEvents['ExecuteShellCommand'] FROM system.query_log WHERE
|
||||||
|
current_database = currentDatabase()
|
||||||
|
AND type = 'QueryFinish'
|
||||||
|
AND query == 'SELECT number FROM numbers(10) WHERE number > 15 and test_function(number, number) == 4;'
|
||||||
|
AND event_date >= yesterday() AND event_time > now() - interval 10 minute
|
||||||
|
LIMIT 1;
|
Loading…
Reference in New Issue
Block a user