Coalesce null to the empty string in the Spec11 pipeline

We'll have a separate change to make sure we're not actually trying to email these folks, but this will make it so that the entire pipeline doesn't crash. The test makes sure that we can run the pipeline properly with these empty strings.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=240346954
This commit is contained in:
gbrodman 2019-03-26 07:54:35 -07:00 committed by jianglai
parent 1f3c419e20
commit 648656e002
2 changed files with 28 additions and 23 deletions

View file

@ -21,7 +21,7 @@
SELECT
domain.fullyQualifiedDomainName AS fullyQualifiedDomainName,
registrar.name AS registrarName,
registrar.emailAddress AS registrarEmailAddress
COALESCE(registrar.emailAddress, '') AS registrarEmailAddress
FROM ( (
SELECT
fullyQualifiedDomainName,