-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add renameCollection command #94
Comments
@apkar We like to take up this ticket. The proposed solution is,
Please assign it to me, if this is ok. |
@senthil-db-expert Why do you need to drop the indexes ? |
If we take a simple case with a collection and index like below db = client['test']
db.coll.create_index('field_a')
db.coll.insert_one({'field_a': 'value_a_1', '_id': 'Bhaskar'}) Assuming it creates directory structure like below
We will have primary index
And secondary index
We don't have to rewrite any of the primary/secondary index keys. We will need to rename (or move) the directory path and change the entry in |
Agree @apkar Thanks. Will work on it and raise the PR. |
@apkar the fix is ready. We will be raising PR today under account drkannan |
Resolves issue #94: Add renameCollection command
@apkar any reason why this issue still in open state? Like to understand the process. |
Usually, if a single PR is closing an issue, we go with the following keywords which would automatically close the issue. https://help.github.com/en/articles/closing-issues-using-keywords Also, it's just me being lazy. |
The text was updated successfully, but these errors were encountered: