Skip to content

Commit

Permalink
Merge pull request #1759 from bcgov/LCFS-1385-OnlyETLUsersWithVlidEmails
Browse files Browse the repository at this point in the history
LCFS-1385: Only ETL Users with Valid Emails
  • Loading branch information
areyeslo authored Jan 22, 2025
2 parents 7f74bdc + 4e3617f commit 2387a23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etl/nifi_scripts/user.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def userProfileQuery = """
u.id
) AS occurrence,
COALESCE(NULLIF(ucr.keycloak_email, ''), u.email) AS keycloak_email,
COALESCE(NULLIF(u.email, ''), '') AS email,
COALESCE(NULLIF(ucr.keycloak_email, ''), NULLIF(u.email, ''), '[email protected]') AS keycloak_email,
COALESCE(NULLIF(u.email, ''), NULLIF(ucr.keycloak_email, ''), '[email protected]') AS email,
u.title,
u.phone,
u.cell_phone AS mobile_phone,
Expand Down

0 comments on commit 2387a23

Please sign in to comment.