Ниже для BigQuery Standard SQL
#standardSQL
WITH hard_coded_values AS (
SELECT 'complaint_type' AS column_name, 'STRING' AS data_type UNION ALL
SELECT 'complaint_description', 'STRING' UNION ALL
SELECT 'complaint_test', 'STRING'
)
SELECT *
FROM hard_coded_values
WHERE NOT (column_name, data_type) IN (
SELECT AS STRUCT column_name, data_type
FROM `bigquery-public-data.austin_311.INFORMATION_SCHEMA.COLUMN_FIELD_PATHS`
)
с выводом
Row column_name data_type
1 complaint_test STRING