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的叉積。