-
Notifications
You must be signed in to change notification settings - Fork 1.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
add migration for MongoDB supportsProfiler = true #15254
Conversation
@sushi30 we are not using the flyway for new migrations. Please use native migrations to add this change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add this in native migrations
@harshach done |
@@ -0,0 +1,4 @@ | |||
-- Add the supportsProfiler field to the MongoDB connection configuration | |||
UPDATE dbservice_entity | |||
SET json = JSON_INSERT(json, '$.connection.config.supportsProfiler', TRUE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be 1.3.1 though? If we'll deploy all these NoSQL thingies by 1.3.2 - 1.4.0, might be better to leave the 1.3.1 clean
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to 1.4.0
# Conflicts: # ingestion/src/metadata/profiler/adaptors/mongodb.py # ingestion/src/metadata/profiler/adaptors/nosql_adaptor.py # ingestion/src/metadata/profiler/interface/nosql/profiler_interface.py # ingestion/tests/integration/profiler/test_nosql_profiler.py
resolved conflicts |
…ata#15254)" This reverts commit ec3eb29.
…ata#15254)" This reverts commit ec3eb29.
* Revert "add migration for MongoDB supportsProfiler = true (#15254)" This reverts commit ec3eb29. * Revert "MINOR: Mongodb column profile (#15252)" This reverts commit 50b2709. * Revert "MINOR: modified nosql factory to not use pymongo (#15316)" This reverts commit bdf2745. * Revert "MINOR: add MongoDB sample data (#15237)" This reverts commit ff2ecc5. * Revert "MINOR: add test for sqla compiler (#15275)" This reverts commit 4967e09. * Revert "Fixes #10013: Implement first stage of NoSQL profiler (#15189)" This reverts commit 18c22c4. * chore: added tests back after revert
Describe your changes:
Add migration for MongoDB profiler support.
Depends on:
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>