Skip to content

Commit 5a8239d

Browse files
authored
[ez] Update rockset query for test class times (#4873)
Dunno how this didn't fail immediately, will need to investigate later
1 parent c3a1004 commit 5a8239d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

torchci/rockset/commons/__sql/test_time_per_class_periodic_jobs.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ job AS (
4141
class_duration_per_job AS (
4242
SELECT
4343
test_run.invoking_file as file,
44-
test_run.classname as class,
44+
test_run.classname as classname,
4545
SUM(time) as time,
4646
REGEXP_EXTRACT(job.name, '^(.*) /', 1) as base_name,
4747
REGEXP_EXTRACT(job.name, '/ test \((\w*),', 1) as test_config,
@@ -62,19 +62,19 @@ class_duration_per_job AS (
6262
)
6363
SELECT
6464
REPLACE(file, '.', '/') AS file,
65-
class,
65+
classname,
6666
base_name,
6767
test_config,
6868
AVG(time) as time
6969
FROM
7070
class_duration_per_job
7171
GROUP BY
7272
file,
73-
class,
73+
classname,
7474
base_name,
7575
test_config
7676
ORDER BY
7777
base_name,
7878
test_config,
7979
file,
80-
class
80+
classname

torchci/rockset/prodVersions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"weekly_force_merge_stats": "d2264131599bcf6e",
3333
"pr_commits": "7ef5e3d100a56edc",
3434
"test_time_per_class": "630fa1ba72a3222b",
35-
"test_time_per_class_periodic_jobs": "8984c4105920b6e5"
35+
"test_time_per_class_periodic_jobs": "c91054c7a10b377e"
3636
},
3737
"pytorch_dev_infra_kpis": {
3838
"monthly_contribution_stats": "c1a8751a22f6b6ce",

0 commit comments

Comments
 (0)