Skip to content

Commit ddb6587

Browse files
committed
fix bug in combined report
1 parent 02eaeff commit ddb6587

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/create_combined_ci_report.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@ def get_regression_fails(client: Client, job_url: str):
111111
job_name,
112112
report_url as results_link
113113
FROM `gh-data`.clickhouse_regression_results
114-
GROUP BY architecture, test_name, job_url, job_name, report_url, start_time
115-
ORDER BY start_time DESC, length(test_name) DESC
114+
GROUP BY architecture, test_name, job_url, job_name, report_url
115+
ORDER BY length(test_name) DESC
116116
)
117117
WHERE job_url='{job_url}'
118118
AND status IN ('Fail', 'Error')
119119
"""
120-
print(query)
120+
121121
df = client.query_dataframe(query)
122122
df = drop_prefix_rows(df, "test_name")
123123
df["job_name"] = df["job_name"].str.title()

0 commit comments

Comments
 (0)