Skip to content
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

При выводе результатов в другую БД нарушается порядок полей #22

Open
PlatonB opened this issue Feb 18, 2022 · 4 comments
Labels
bug Something isn't working third-party Проблема со стороны MongoDB, PyMongo, Streamlit или вовсе Python

Comments

@PlatonB
Copy link
Owner

PlatonB commented Feb 18, 2022

Для VCF, BED и других биоинформатических форматов страшнее бага не придумать. Уже сообщил разработчиками MongoDB:
https://jira.mongodb.org/browse/SERVER-63853
Проголосуйте там, плз, откоментьте.

UPD.
Сейчас актуальнее прогососовать тут:
https://feedback.mongodb.com/forums/924280-database/suggestions/44875462-preserve-field-order-in-merge
(хотя по старой ссылке тоже не будет лишним)

@PlatonB PlatonB added bug Something isn't working third-party Проблема со стороны MongoDB, PyMongo, Streamlit или вовсе Python labels Feb 18, 2022
@PlatonB
Copy link
Owner Author

PlatonB commented Mar 11, 2022

Волею разрабов баг стал лишь пожеланием и переехал сюда:
https://feedback.mongodb.com/forums/924280-database/suggestions/44875462-preserve-field-order-in-merge
Очень прошу проголосовать! @VorontsovIE @yustiks
Там требуется лишь залогиниться через Google. Есть вероятность, что понадобится VPN (с учётом нынешней ситуации, очевидно, он у всех наличествует).

@VorontsovIE
Copy link

VorontsovIE commented Mar 11, 2022

Strictly speaking, it's not a bug. There are no guarantees about ordering of fields in merged documents, and there is a good reason for that: in general order of fields in merged documents can differ. In this case it's unclear which order should be prefered.

You should try to reformulate this as a feature, not a bug. And to describe proposed semantics in general case.

@PlatonB
Copy link
Owner Author

PlatonB commented Mar 12, 2022

Even if it's not a bug (although I don't agree with that), I still urge everyone to vote.
Actual link:
https://feedback.mongodb.com/forums/924280-database/suggestions/44875462-preserve-field-order-in-merge

@PlatonB
Copy link
Owner Author

PlatonB commented Mar 12, 2022

Only 9 votes are enough to move the issue into the top-10 of the "Database" section. There are now 2 votes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working third-party Проблема со стороны MongoDB, PyMongo, Streamlit или вовсе Python
Projects
None yet
Development

No branches or pull requests

2 participants