0

当我尝试在 DynamoDB 的 PartiQL 中运行查询时出现以下错误:

An error occurred during the execution of the command.
ValidationException: Overlapping conditions with range keys are not supported in where clause

查询如下所示:

SELECT * FROM "tableName"
WHERE "columnName" IN (
'abc',
'def',
'def'
)
4

1 回答 1

0

错误消息不必要地令人困惑,但这意味着您的 IN 子句中有重复值。如果删除重复项,则查询将起作用。如果您在 IN 子句中有很长的列表,则可能很难发现您有重复。

于 2021-07-26T22:30:30.880 回答