I have some tables on BigQuery that the schema looks like below.
When I execute the below query I got some exceptions
select * from `test.test.test_partitioned` WHERE DATE(_PARTITIONTIME) = "2020-03-01" and account.final_balance_sum >1
Cannot access field final_balance_sum on a value with type ARRAY<STRUCT<account_name STRING, final_balance_sum FLOAT64>> at [16:141]
I have tried the solution from here, seems it doesn't work to me at all.
test.test.test_partitioned
WHERE DATE(_PARTITIONTIME) = "2020-03-01" and final_balance_sum >1 – Priya Agarwal