Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba3b493

Browse files
authored
34727 - updated Criteria (#4743)
* updated utc * updated * updated * updated utc to pst
1 parent 9b2f528 commit ba3b493

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • jobs/colin-extract-refresh/src/checks

jobs/colin-extract-refresh/src/checks/utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,7 @@ def get_candidates_not_matching_saf_criteria_query(updated_corp_nums: list, targ
207207
AND email_used_count = 1
208208
AND director_count = 1
209209
AND address_all_any_bad_count = 0
210-
AND meets_share_criteria = true
211210
AND has_bar_filing = false
212-
AND directors_within_bc = true
213211
AND is_bad_email = false
214212
AND is_email_excluded = false
215213
AND is_migration_excluded = false
@@ -245,5 +243,6 @@ def prune_candidates_from_account(pruning_corps_list: list, target_schema: str)
245243

246244
def get_cutoff_timestamp_query(target_schema: str) -> str:
247245
return f"""
248-
SELECT extracted_at FROM {target_schema}.colin_extract_version
246+
SELECT extracted_at AT TIME ZONE 'America/Los_Angeles' as extracted_at
247+
FROM {target_schema}.colin_extract_version
249248
"""

0 commit comments

Comments
 (0)