Back to switch cases, also now with support for TIMESTAMP bigquery types.