Fivetran interview question

String decode and SQL connector implementation