【发布时间】:2020-12-05 21:56:44
【问题描述】:
我正在尝试使用 Azure 逻辑应用程序中的 Group By 子句来查询具有 150 万个文档的单个分区。
我可以毫无问题地运行在 Cosmos 数据资源管理器中的逻辑应用程序中编码的查询:
[{
"AreasProcessed": 1,
"TotalProperties": 1286,
"status": 500
},
{
"AreasProcessed": 45,
"TotalProperties": 0,
"status": 400
},
{
"AreasProcessed": 2275,
"TotalProperties": 2399469,
"status": 200
}]
但是,当我在逻辑应用程序中运行查询时,我收到以下错误:
Continuation token is not supported for queries with GROUP BY. Do not use FeedResponse.ResponseContinuation or remove the GROUP BY from the query.
我已在逻辑应用上启用分页和异步模式。
逻辑应用的完整错误如下,谁能帮帮我?
{"error": {
"code": 500,
"source": "logic-apis-westeurope.azure-apim.net",
"clientRequestId": "4d6a4cdb-8969-4dd7-b382-90929c7ec829",
"message": "BadGateway",
"innerError": {
"status": 500,
"message": "Continuation token is not supported for queries with GROUP BY. Do not use FeedResponse.ResponseContinuation or remove the GROUP BY from the query.\r\nclientRequestId: 4d6a4cdb-8969-4dd7-b382-90929c7ec829",
"error": {
"message": "Continuation token is not supported for queries with GROUP BY. Do not use FeedResponse.ResponseContinuation or remove the GROUP BY from the query."
},
"source": "documentdb-we.azconn-we.p.azurewebsites.net"
}
}}
【问题讨论】:
标签: azure azure-cosmosdb azure-logic-apps