Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit b2228bb

Browse files
committed
support for round type ids
1 parent b9c5fb9 commit b2228bb

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/main/resources/sql/mm-feeder-into-challenges/get_marathon_matches_for_challenge_details.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ left join informixoltp\:round_component rc on r.round_id = rc.round_id
1313
left join informixoltp\:component c on rc.component_id = c.component_id
1414
left join tcs_catalog\:project_info pi on pi.project_info_type_id = 56 and pi.value::decimal = r.round_id
1515
left join informixoltp\:round_segment rs on rs.round_id = r.round_id and rs.segment_id = 5
16-
where pi.project_id is null and r.round_type_id in (13, 19) and {filter}
16+
where pi.project_id is null and r.round_type_id in (13, 15, 16, 19, 22, 23) and {filter}

src/main/resources/sql/mm-feeder-into-challenges/get_marathon_matches_for_challenge_listing.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ left join informixoltp\:component comp on comp.component_id = rc.component_id
2929
left join informixoltp\:round_segment rs_reg on rs_reg.round_id = r.round_id and rs_reg.segment_id = 1
3030
left join informixoltp\:round_segment rs_sub on rs_sub.round_id = r.round_id and rs_sub.segment_id = 2
3131
left join tcs_catalog\:project_info pi on pi.project_info_type_id = 56 and pi.value::decimal = r.round_id
32-
where pi.project_id is null and r.round_type_id in (13, 19) and {filter}
32+
where pi.project_id is null and r.round_type_id in (13, 15, 16, 19, 22, 23) and {filter}

src/main/resources/sql/mmatches-feeder/get_mmatches.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ FROM
6161
INFORMIXOLTP\:problem AS problem
6262
ON problem.problem_id = component.problem_id
6363
WHERE
64-
round.round_type_id in (13, 19)
64+
round.round_type_id in (13, 15, 16, 19, 22, 23)
6565
AND {filter}

src/main/resources/sql/mmatches-feeder/get_user_ids.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ FROM
1919
tcs_catalog\:user AS user_table
2020
ON user_table.user_id = round_registration.coder_id
2121
WHERE
22-
round.round_type_id in (13, 19) AND {filter}
22+
round.round_type_id in (13, 15, 16, 19, 22, 23) AND {filter}

src/main/resources/sql/mmatches-feeder/job/get_mm_registration_phase_started.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FROM
77
AND registration_segment.segment_id = 1
88
LEFT JOIN tcs_catalog\:project_info pi on pi.project_info_type_id = 56 and pi.value::decimal = round.round_id
99
WHERE
10-
pi.project_id is null AND round.round_type_id in (13,19)
10+
pi.project_id is null AND round.round_type_id in (13, 15, 16, 19, 22, 23 )
1111
AND (
1212
(1 = :lastRunTimestamp)
1313
OR

0 commit comments

Comments
 (0)