mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Merge pull request #35754 from ClickHouse/fix-ci-script-style-check
Fix stylecheck
This commit is contained in:
commit
60ecd49313
@ -15,7 +15,7 @@ class ClickHouseHelper:
|
|||||||
self.url = url
|
self.url = url
|
||||||
self.auth = {
|
self.auth = {
|
||||||
"X-ClickHouse-User": get_parameter_from_ssm("clickhouse-test-stat-login"),
|
"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
|
@staticmethod
|
||||||
|
@ -84,14 +84,14 @@ let render_data_query = `
|
|||||||
SELECT groupArray([d, n, fail]) FROM
|
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
|
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
|
INNER JOIN
|
||||||
(
|
(
|
||||||
SELECT test_name, toUInt16(rowNumberInAllBlocks()) AS n FROM
|
SELECT test_name, toUInt16(rowNumberInAllBlocks()) AS n FROM
|
||||||
(
|
(
|
||||||
SELECT DISTINCT test_name
|
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
|
WHERE match(test_name, '^\\d+_') AND check_name ILIKE '%stateless%' AND check_start_time > now() - INTERVAL 1 DAY
|
||||||
ORDER BY test_name
|
ORDER BY test_name
|
||||||
)
|
)
|
||||||
@ -112,7 +112,7 @@ let test_names_query = `
|
|||||||
SELECT test_name, toUInt16(rowNumberInAllBlocks()) AS n FROM
|
SELECT test_name, toUInt16(rowNumberInAllBlocks()) AS n FROM
|
||||||
(
|
(
|
||||||
SELECT DISTINCT test_name
|
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
|
WHERE match(test_name, '^\\d+_') AND check_name ILIKE '%stateless%' AND check_start_time > now() - INTERVAL 1 DAY
|
||||||
ORDER BY test_name
|
ORDER BY test_name
|
||||||
) FORMAT JSONCompact`;
|
) FORMAT JSONCompact`;
|
||||||
|
Loading…
Reference in New Issue
Block a user