BigQuery Integer Partitions - can I use the results of another query to get a list of the partitions to access?
问题 I have a large table using integer partitions (~1TB). I need to regularly make several small subsets of this table. This was costing a lot, but using integer partitions I can decrease the cost by like 95%. It looks something like this. tbl_a : partition_index IN (1, 2, 5, 6, 7, 10, 11, 15, 104, 106, 111) tbl_b : partition_index IN (3, 4, 5, 20, 21, 25, 16, 84, 201, 301, 302, 303) and so on an so forth, with different subtables using different subsets of the index. Its ugly as all hell, but it