-
Notifications
You must be signed in to change notification settings - Fork 88
[Feature Request] Support or ignore hint
#90
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
Labels
Comments
yes, i think we can ignore this parameter. |
just to get a rough idea on timeframe... how low is this request on the priority list/road map? |
I'm working on it, expect that publish the PR before this weekend. |
@wwey-payton any update? |
@lichoil I just checked the github profile for wwey-payton and I'm not going to hold my breath for a solution from them |
PR in review |
any update? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Purpose of the feature.
Some MongoDB commands (
aggregate
,find
,count
,findAndModify
,update
,delete
) accept ahint
parameter that could be used to suggest an index to use. Currently, DocumentDB does not support it. FerretDB has users reporting compatibility problems due to this.Alternatively, that parameter could just be ignored. It would be nice to check that specified index still exists (and return an error if it does not), but not do anything beyond that.
Describe the solution you'd like
hint
parameter is implemented or ignored.Describe alternatives you've considered
Decode all queries in FerretDB and remove that parameter before sending the request to DocumentDB. But that would make things slower.
Additional context
The text was updated successfully, but these errors were encountered: