mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 02:12:21 +00:00
fix stylecheck
This commit is contained in:
parent
9bea138293
commit
d20af6ca9a
@ -4,8 +4,6 @@
|
|||||||
|
|
||||||
#include <Common/logger_useful.h>
|
#include <Common/logger_useful.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace ProfileEvents
|
namespace ProfileEvents
|
||||||
{
|
{
|
||||||
extern const Event JoinBuildTableRowCount;
|
extern const Event JoinBuildTableRowCount;
|
||||||
|
@ -49,7 +49,7 @@ SELECT
|
|||||||
if(ProfileEvents['JoinResultRowCount'] == 1000, 'ok', 'fail: ' || toString(ProfileEvents['JoinResultRowCount'])),
|
if(ProfileEvents['JoinResultRowCount'] == 1000, 'ok', 'fail: ' || toString(ProfileEvents['JoinResultRowCount'])),
|
||||||
Settings['query_plan_join_swap_table'],
|
Settings['query_plan_join_swap_table'],
|
||||||
FROM system.query_log
|
FROM system.query_log
|
||||||
WHERE type = 'QueryFinish' AND event_date = today() AND query_kind = 'Select'
|
WHERE type = 'QueryFinish' AND event_date >= yesterday() AND query_kind = 'Select' AND current_database = currentDatabase()
|
||||||
AND query like '%products, sales%'
|
AND query like '%products, sales%'
|
||||||
AND log_comment = '03279_join_choose_build_table_no_idx'
|
AND log_comment = '03279_join_choose_build_table_no_idx'
|
||||||
ORDER BY event_time DESC
|
ORDER BY event_time DESC
|
||||||
@ -61,7 +61,7 @@ SELECT
|
|||||||
if(ProfileEvents['JoinResultRowCount'] == 1000, 'ok', 'fail: ' || toString(ProfileEvents['JoinResultRowCount'])),
|
if(ProfileEvents['JoinResultRowCount'] == 1000, 'ok', 'fail: ' || toString(ProfileEvents['JoinResultRowCount'])),
|
||||||
Settings['query_plan_join_swap_table'],
|
Settings['query_plan_join_swap_table'],
|
||||||
FROM system.query_log
|
FROM system.query_log
|
||||||
WHERE type = 'QueryFinish' AND event_date = today() AND query_kind = 'Select'
|
WHERE type = 'QueryFinish' AND event_date >= yesterday() AND query_kind = 'Select' AND current_database = currentDatabase()
|
||||||
AND query like '%sales, products%'
|
AND query like '%sales, products%'
|
||||||
AND log_comment = '03279_join_choose_build_table_no_idx'
|
AND log_comment = '03279_join_choose_build_table_no_idx'
|
||||||
ORDER BY event_time DESC
|
ORDER BY event_time DESC
|
||||||
@ -75,7 +75,7 @@ SELECT
|
|||||||
if(ProfileEvents['JoinResultRowCount'] == 1000, 'ok', 'fail: ' || toString(ProfileEvents['JoinResultRowCount'])),
|
if(ProfileEvents['JoinResultRowCount'] == 1000, 'ok', 'fail: ' || toString(ProfileEvents['JoinResultRowCount'])),
|
||||||
Settings['query_plan_join_swap_table'],
|
Settings['query_plan_join_swap_table'],
|
||||||
FROM system.query_log
|
FROM system.query_log
|
||||||
WHERE type = 'QueryFinish' AND event_date = today() AND query_kind = 'Select'
|
WHERE type = 'QueryFinish' AND event_date >= yesterday() AND query_kind = 'Select' AND current_database = currentDatabase()
|
||||||
AND query like '%products, sales%'
|
AND query like '%products, sales%'
|
||||||
AND log_comment = '03279_join_choose_build_table_idx'
|
AND log_comment = '03279_join_choose_build_table_idx'
|
||||||
ORDER BY event_time DESC
|
ORDER BY event_time DESC
|
||||||
@ -87,7 +87,7 @@ SELECT
|
|||||||
if(ProfileEvents['JoinResultRowCount'] == 1000, 'ok', 'fail: ' || toString(ProfileEvents['JoinResultRowCount'])),
|
if(ProfileEvents['JoinResultRowCount'] == 1000, 'ok', 'fail: ' || toString(ProfileEvents['JoinResultRowCount'])),
|
||||||
Settings['query_plan_join_swap_table'],
|
Settings['query_plan_join_swap_table'],
|
||||||
FROM system.query_log
|
FROM system.query_log
|
||||||
WHERE type = 'QueryFinish' AND event_date = today() AND query_kind = 'Select'
|
WHERE type = 'QueryFinish' AND event_date >= yesterday() AND query_kind = 'Select' AND current_database = currentDatabase()
|
||||||
AND query like '%sales, products%'
|
AND query like '%sales, products%'
|
||||||
AND log_comment = '03279_join_choose_build_table_idx'
|
AND log_comment = '03279_join_choose_build_table_idx'
|
||||||
ORDER BY event_time DESC
|
ORDER BY event_time DESC
|
||||||
|
Loading…
Reference in New Issue
Block a user