mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fix stylecheck
This commit is contained in:
parent
31c367d3cd
commit
d3697625a9
@ -15,7 +15,7 @@ class ClickHouseHelper:
|
||||
self.url = url
|
||||
self.auth = {
|
||||
"X-ClickHouse-User": get_parameter_from_ssm("clickhouse-test-stat-login"),
|
||||
"X-ClickHouse-Key": get_parameter_from_ssm("clickhouse-test-stat-password")
|
||||
"X-ClickHouse-Key": get_parameter_from_ssm("clickhouse-test-stat-password"),
|
||||
}
|
||||
|
||||
@staticmethod
|
||||
|
@ -84,14 +84,14 @@ let render_data_query = `
|
||||
SELECT groupArray([d, n, fail]) FROM
|
||||
(
|
||||
SELECT n, check_start_time::Date - start_date AS d, max(test_status LIKE 'F%' OR test_status LIKE 'E%') AS fail
|
||||
FROM "gh-data".checks
|
||||
FROM "default".checks
|
||||
|
||||
INNER JOIN
|
||||
(
|
||||
SELECT test_name, toUInt16(rowNumberInAllBlocks()) AS n FROM
|
||||
(
|
||||
SELECT DISTINCT test_name
|
||||
FROM "gh-data".checks
|
||||
FROM "default".checks
|
||||
WHERE match(test_name, '^\\d+_') AND check_name ILIKE '%stateless%' AND check_start_time > now() - INTERVAL 1 DAY
|
||||
ORDER BY test_name
|
||||
)
|
||||
@ -112,7 +112,7 @@ let test_names_query = `
|
||||
SELECT test_name, toUInt16(rowNumberInAllBlocks()) AS n FROM
|
||||
(
|
||||
SELECT DISTINCT test_name
|
||||
FROM "gh-data".checks
|
||||
FROM "default".checks
|
||||
WHERE match(test_name, '^\\d+_') AND check_name ILIKE '%stateless%' AND check_start_time > now() - INTERVAL 1 DAY
|
||||
ORDER BY test_name
|
||||
) FORMAT JSONCompact`;
|
||||
|
Loading…
Reference in New Issue
Block a user