0
有人可以解释如何在bigquery中查询customDimensions吗?在Google中查询customDimensions Bigquery
我查询的工作与简单的where子句即
SELECT COUNT(DISTINCT fullVisitorId)
FROM GA_SESSION
WHERE hits.customDimensions.index = 4
AND hits.customDimensions.value = 'variable1'
AND hits.page.pagePath LIKE '%something%';
但是现在,当我尝试做一个聚集体,或者如果我尝试EXACT_COUNT_DISTINCT没有GROUP BY,我得到即
SELECT date, COUNT(DISTINCT fullVisitorId)
FROM GA_SESSION
WHERE hits.customDimensions.index = 4
AND hits.customDimensions.value = 'variable1'
AND hits.page.pagePath LIKE '%something%'
group by date
错误
错误: 查询失败 错误:无法查询重复字段customDimensions.index和hits.customDimensions.index的叉积。