fix stylecheck

This commit is contained in:
vdimir 2024-12-05 15:45:19 +00:00
parent 9bea138293
commit d20af6ca9a
No known key found for this signature in database
GPG Key ID: 6EE4CE2BEDC51862
2 changed files with 4 additions and 6 deletions

View File

@ -4,8 +4,6 @@
#include <Common/logger_useful.h>
namespace ProfileEvents
{
extern const Event JoinBuildTableRowCount;

View File

@ -49,7 +49,7 @@ SELECT
if(ProfileEvents['JoinResultRowCount'] == 1000, 'ok', 'fail: ' || toString(ProfileEvents['JoinResultRowCount'])),
Settings['query_plan_join_swap_table'],
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 log_comment = '03279_join_choose_build_table_no_idx'
ORDER BY event_time DESC
@ -61,7 +61,7 @@ SELECT
if(ProfileEvents['JoinResultRowCount'] == 1000, 'ok', 'fail: ' || toString(ProfileEvents['JoinResultRowCount'])),
Settings['query_plan_join_swap_table'],
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 log_comment = '03279_join_choose_build_table_no_idx'
ORDER BY event_time DESC
@ -75,7 +75,7 @@ SELECT
if(ProfileEvents['JoinResultRowCount'] == 1000, 'ok', 'fail: ' || toString(ProfileEvents['JoinResultRowCount'])),
Settings['query_plan_join_swap_table'],
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 log_comment = '03279_join_choose_build_table_idx'
ORDER BY event_time DESC
@ -87,7 +87,7 @@ SELECT
if(ProfileEvents['JoinResultRowCount'] == 1000, 'ok', 'fail: ' || toString(ProfileEvents['JoinResultRowCount'])),
Settings['query_plan_join_swap_table'],
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 log_comment = '03279_join_choose_build_table_idx'
ORDER BY event_time DESC