Is it possible to iterate over multiple ga_sessions tables in BigQuery?
I'm not asking about how to query multiple ga_sessions tables.
Which can be done in Standard SQL using: select * from 'a:b.c.ga_sessions_*' where _TABLE_SUFFIX between '20180501' and '20180505'
.
I am asking about using a loop with date for example the answer in While loop over tables uses variables and declare cursor.
The reason is because you can only query a limited number of tables using the Querying Multiple Tables Using a Wildcard Table method.
I suspect it is only possible using a programming language like Python, but wanted to check.