I am querying from the Firebase Analytics tables.
The table I am using has a partition for each day. Here are some examples of the various daily partitions:
arm_studio.analytics_177892322.events_20180628
rm_studio.analytics_177892322.events_20180627
arm_studio.analytics_177892322.events_20180629
Essentially I am asking how to query the .all (every partition) of the table. Ie the partition from every single date recorded. Would also be great to query n days ago.
I have gone through BQ documentation on partitioned tables and the regular syntax seems to not work as intended. I have also noticed that normal partitioned tables have just the date after the table name as opposed to ".events_[date]" as shown in the example above.
Currently I am just unioning every partition which is extremely long and obviously unscalable. Anyone have experience with querying these tables?