bsm*_*osj 4 google-bigquery google-api-nodejs-client
我对使用“group_concat”BigQuery 函数执行查询很感兴趣。当我直接在 BigQuery 界面中执行查询时,查询成功结束,但是当我尝试通过 Node js 执行该查询时,出现了以下错误:
errors:
[ { domain: 'global',
reason: 'invalidQuery',
message: 'Function not found: group_concat at [4:3]',
locationType: 'other',
location: 'query' } ]
Run Code Online (Sandbox Code Playgroud)
代码不是问题,因为它执行一个简单的查询没有任何问题。
我的查询:
SELECT
st_hub_session_id,
num_requests,
group_concat( group.code, '|' ) as Codes
FROM
table.name
GROUP BY
st_hub_session_id,
group_concat
LIMIT
1000
Run Code Online (Sandbox Code Playgroud)
问题可能出在哪里?
| 归档时间: |
|
| 查看次数: |
4661 次 |
| 最近记录: |