Open
Description
Describe the bug
I was experimenting with creating a hierarchical sort key and then doing a query
, and found that EDB adds what appears to be a redundant FilterExpression
to the generated query command.
Unless I'm overlooking something, the filter is redundant as the constructed sort key can only match exactly on the given kingdom
. Playground
If you move 'kingdom' into the PK the filter expression goes away. Playground
If you add another attribute into the schema and use that in the PK, the problem remains. Playground
ElectroDB Version
2.14.3 (and playground)
ElectroDB Playground Link
ElectroDB Playground (same as first link above)
Expected behavior
No redundancy in generated commands
Metadata
Metadata
Assignees
Labels
No labels