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

filter the invalid active contest and upcoming contest data #369

Merged
merged 1 commit into from
Oct 12, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions queries/active_data_science_challenges
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ FROM
active_data_science_challenges
WHERE
submission_end_date BETWEEN TO_DATE('@submitByFrom@ 00:00:00', '%Y-%m-%d %H:%M:%S') AND TO_DATE('@submitByTo@ 23:59:59', '%Y-%m-%d %H:%M:%S')
AND CURRENT BETWEEN registration_start_date AND submission_end_date
ORDER BY challenge_id
1 change: 1 addition & 0 deletions queries/upcoming_data_science_challenges
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ FROM
upcoming_data_science_challenges
WHERE
submission_end_date BETWEEN TO_DATE('@submitByFrom@ 00:00:00', '%Y-%m-%d %H:%M:%S') AND TO_DATE('@submitByTo@ 23:59:59', '%Y-%m-%d %H:%M:%S')
AND registration_start_date > CURRENT
ORDER BY challenge_id