-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
🤖 backported "Mongo java driver upgrade" #38461
🤖 backported "Mongo java driver upgrade" #38461
Conversation
* tmp: patched monger for 4.11.1 mongo java driver * tmp: Update monger utils Aggregation probably wont work now, but we are not using those from monger anyway. With this change in place I'm able to load needed namespaces and create test-data dataset successfully. Commit contains lot of condo errors that should be resolved while porting. * WIP: Monger removed in favor of java driver wrapper * Update java driver wrapper * Update srv test * Update comments * Use non keywordized run-command for `dbms-version` * Fix according to e2e tests * Cleanup * Separate `java-driver-wrapper` into multiple namespaces * Fix semantic type inference for serialized json * Fix options for run-command * Cleanup json namespace * Cleanup conversion namespace * Cleanup operators * Update kondo in operators ns * Cleanup connection namespace * Cleanup mongo namespace * Cleanup util namespace * Add todo * Move session related code to util * Cleanup database namespace * Update docstring for conn string generation * Update docstrings * Update tests * Update linter for with macros * Update modules/drivers/mongo/src/metabase/driver/mongo/connection.clj Co-authored-by: metamben <103100869+metamben@users.noreply.github.com> * Update modules/drivers/mongo/src/metabase/driver/mongo/connection.clj Co-authored-by: metamben <103100869+metamben@users.noreply.github.com> * Use transient in from-document for building a map Co-authored-by: metamben <103100869+metamben@users.noreply.github.com> * Update can-connect to use let form - Avoid nested `with-mongo-database` call. - Avoid creating a set used for searching for database name. * Remove redundant set use from describe-database * Change from-document keywordize default to false * Remove log message translation * Update maybe-add-ssl-context-to-builder! to always return builder * Indent from-document * Remove redundant ConvertToDocument extensions * Use oredered-map in do-find's sort * Use ex-info in details-normalized * Add imports and update comment in execute ns * Update fixme comment * Pass opts instead of a selection to from-document in do-find * Avoid unnecessary double dot call * Update connection test ns according to review remarks * Make tests parallel * Docstring update * Update docstring --------- Co-authored-by: metamben <103100869+metamben@users.noreply.github.com>
1aaf189
to
5f87e6c
Compare
|
Conflicts occured because of Method definition and its tests ( |
#38017
Important
Manual conflict resolution is required.
Checkout the branch and run
./backport.sh
script. Force push your changes after cherry-picking.