DynamoDB PartiQL 'ORDER BY' not working with 'Limit' #2917
Labels
bug
This issue is a bug.
closed-for-staleness
p2
This is a standard priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
service-api
This issue is due to a problem in a service API, not the SDK implementation.
Acknowledgements
go get -u github.com/aws/aws-sdk-go-v2/...
)Describe the bug
running a statement with both 'Limit' key and 'ORDER BY' on a LSI SK causes order by to be ignored
Regression Issue
Expected Behavior
order by sort key of LSI to works when limit is defined
Current Behavior
'order by' doesn't works when limit is set on
dynamodb.ExecuteStatementInput
. There is no error, just seems to be ignored.Reproduction Steps
docker compose for local:
Possible Solution
No response
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
Compiler and Version used
go1.22.4 linux/amd64
Operating System and version
linux
The text was updated successfully, but these errors were encountered: