SELECT
  *
FROM
  `fao-maps-review.fao_rotterdam_convention.vw_import_responses`
WHERE
  ("all" IN UNNEST(SPLIT(@chemical_code, ','))
    OR CAST(chemical_code AS STRING) IN UNNEST(SPLIT(@chemical_code, ',')))
  AND ("all" IN UNNEST(SPLIT(@iso2, ','))
    OR iso2 IN UNNEST(SPLIT(@iso2, ',')))
  AND ("all" IN UNNEST(SPLIT(@decision_type, ','))
    OR decision_type IN UNNEST(SPLIT(@decision_type, ',')))
  AND ("all" IN UNNEST(SPLIT(@decision, ','))
    OR decision IN UNNEST(SPLIT(@decision, ',')))