我们拥有优质的Google Analytics帐户,可让我们访问行级事件数据.此数据每天导出到Google Bigquery,并且每天都会在数据集中创建一个新表.
直到一周前,我们才能将此Google Analytics数据展平为CSV,然后将其展平为临时临时表,然后将其导出为CSV.我们以前的查询是这样的:
SELECT * FROM
flatten([xxxxxxxx.ga_sessions_20140829],hits),
flatten([xxxxxxxx.ga_sessions_20140828],hits),
flatten([xxxxxxxx.ga_sessions_20140827],hits),
flatten([xxxxxxxx.ga_sessions_20140826],hits)
Run Code Online (Sandbox Code Playgroud)
昨天我注意到这个查询现在会抛出一个错误:
Cannot output multiple independently repeated fields at the same time. Found customDimensions_value and hits_product_productSKU
Run Code Online (Sandbox Code Playgroud)
显然,flatten()函数已经发生了一些变化,因为hits_product_productSKU是hits字段的子代.
我还尝试了查询历史中的一些旧查询,但它们也被破坏了.没有发布说明提到任何变化,所以发生了什么?
如何再次导出Google Analytics BigQuery导出文件中的所有内容?