In the following query:
select t, 1 from (select 1 as a, 2 as b) t
It produces a column of struct type: {"a": 1, "b": 2} for the column t. Is this the expected behavior, and if so (and I'm almost 100% sure it is), where is that behavior documented in BigQuery or in the SQL standard?
Another example:
select t as x, t.*, 1 as y from (select 1 as a, 2 as b) t
