SELECT `justfunctions.eu.detect_free_email`("[email protected]")
/*--Output--
1
*/
CREATE OR REPLACE FUNCTION `your_project_id.your_dataset_id.detect_free_email`(`email` STRING)
RETURNS INT AS (your_project_id.your_dataset_id.detect_free_email_domain(
your_project_id.your_dataset_id.extract_url_domain_base(email)
))
OPTIONS ( description = '''Detects if an <email> belongs to a free email service (e.g., Gmail, Yahoo, Outlook).''')
SQL User Defined Function (SQL UDF)
See something wrong? Contact us or report an issue on Github.