我们在big-query(没有 _partitiontime 伪列)中有一个基于实时流列的时间分区表,我们希望使用Google data studio构建报告 .

在大查询连接器中选择时间分区表时,它显示以下内容:

bigquery data studio table connector

未选中 Use _PARTITIONTIME as time dimension 时:

data studio生成的基于时间的查询在大查询表上进行全扫描,从而增加了查询成本 .

data studio query

从data studio自动生成相同的查询,但在WebUI中手动使用分区字段,如下所示:

modified query

在大查询数据连接器中,选中 Use _PARTITIONTIME as time dimension

它为构建图表返回以下错误:

_partitiontime error

在查询历史记录中:

Errors:
query: Unrecognized name: _PARTITIONTIME at [1:196] (error code: invalidQuery)

截至目前,报告是使用自定义查询和视图在有限的时间范围内构建的 . 据我所知,基于数据工作室产品和基于大查询列的时间分区仍处于测试阶段

在data-studio中连接基于列的时间分区大查询字段的最佳实践是什么?

[Update - 21 Sept 2018] 可能这是一个尚未从数据工作室修复的产品错误

enter image description here

Generated Query (data studio)
enter image description here

Actual Table Partitioning Details:
enter image description here