Suppose there is the following query (called \'base query\' in this post):
#standardSQL SELECT \'1\' AS session_id, \'product_view\' AS event_name, STRUCT([\'