You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried a similar example locally and I get the following Boto3 error: botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the Query operation: Query key condition not supported
Is this a bug? If not, why does it work?
The text was updated successfully, but these errors were encountered:
For querys is mandatory use the full hash key, because it uses indexed values to get a data. This is a DynamoDB requirement.
You can do this using scan instead without any problems, but remember that this one need more processing because it desconsider key <=> value indexement.
In your example on the Readme:
As far as I know, you cannot use a query on a DyanmoDB table without using an exact match on Partition(Hash) Key.
https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html
How are you using isbn__begins_with="12345" here?
I tried a similar example locally and I get the following Boto3 error:
botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the Query operation: Query key condition not supported
Is this a bug? If not, why does it work?
The text was updated successfully, but these errors were encountered: