是否可以在 Dynamo 的 PartiQL 中使用 JOIN?

Is it possible to use JOIN in PartiQL in Dynamo?

来自此处的 AWS 指南:https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/EMRforDynamoDB.Querying.html

SELECT ecs.state_name, f.feature_name, f.feature_class 
FROM s3_east_coast_states ecs 
JOIN ddb_features f ON ecs.state_alpha = f.state_alpha 
WHERE ecs.state_name LIKE 'New%';

这绝对是一个 JOIN。但是当我 运行 加入时:

SELECT * FROM "division-allocations-dev" da JOIN "branch-division-dev" bd ON bd.divisionID = da.divisionID where da.divisionID = 499;"

我收到这个错误:

Only select from a single table or index is supported.

现在这些文档特定于 Dynamo 的 EMR,那么 JOIN 是否只允许在 EMR 工具中使用? PartiQL definitely has JOINs 那么 Dynamo 是否只支持 PartiQL 的一个子集?如果是这样,我在哪里可以找到 Dynamo 支持的列表?

Is it possible to use JOIN in PartiQL in Dynamo?

简答:没有。

Dynamo only supporting a subset of PartiQL?

Yes. The DynamoDB PartiQL subset provides familiar syntax与(no-join)核心一致API.

where do I find a list of what Dynamo supports?

参见docs。您得到 SELECT(无连接)、UPDATE、INSERT 和 DELETE。