【发布时间】:2016-12-30 19:01:15
【问题描述】:
我正在尝试在 BigQuery 上使用标准 SQL 方言(即不是旧版 SQL)运行查询。我的查询是:
SELECT
date, hits.referer
FROM `refresh.ga_sessions_xxxxxx*`
LIMIT 1000
但是一直报错
Error: Cannot access field referer on a value with type
ARRAY<STRUCT<hitNumber INT64, time INT64, hour INT64, ...>> at [2:12]
有人知道正确的语法吗?
【问题讨论】:
标签: sql nested google-bigquery