-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't demote range key condition to filter condition #800
Conversation
@jpinner-lyft better? |
I think this is better -- my only other thought would be now that we're not at tempting to modify the query we could just pass the filter_condition to dynamo un-inspected and let it return any errors. This has the drawback that you don't detect early but would be less code maintenance on our end. |
I had this thought as well (the error checking seemed redundant and we risk being needlessly restrictive) but I didn't venture to check what errors DynamoDB returns in those cases -- that is, maybe this was done because DynamoDB's messaging is confusing? Your suggestion that this checking was introduced only for the demotion's sake seems plausible, though. |
This removes a bunch of code, which is nice. The server-side errors are:
Would that be clear enough? |
No description provided.