创建一个大查询视图 - 多个分片

Create a big query view - multiple shards

Big Query 中最干净的解决方案是什么,可以从共享相同前缀且位于同一数据集中的多个 table 创建视图?我希望每次将新的 {prefix}_'yyyy_mm_dd' table 添加到数据集时自动更新大 table。

遵循文档:

The wildcard table functionality does not support views. If the wildcard table matches any view in the dataset, the query returns an error.

创建新的table(复制数据)是唯一的选择吗?

一个视图可以查询多个表:

create view Test.one
as
Select *
from `Test.oneM*`

但是,查询多个视图是不允许的:

Select *
from `Test.one*`