Repository navigation
Conversation
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
pmbrull
approved these changes
Jul 23, 2022
|
[open-metadata-ingestion] Kudos, SonarCloud Quality Gate passed! |
pmbrull
approved these changes
Jul 23, 2022
pmbrull
left a comment
Member
There was a problem hiding this comment.
this is great, many thanks @Beetelbrox
pmbrull
pushed a commit
to pmbrull/OpenMetadata
that referenced
this pull request
Jul 27, 2022
…ta#6293) [TASK-6140] Add OMeta header to SQLAlchemy-based queries (open-metadata#6293)
pmbrull
added a commit
that referenced
this pull request
Jul 27, 2022
* Fix #5890 - Add health endpoint (#6030) * Add health endpoint * Replace rest_status for health * Update message * [ISSUE-6162] Upgrade RS SQL statement query (#6188) * Upgrade RS SQL statement query * Fix query, remove dupes * [ISSUE-6162] Escape wildcards on revised RS query (#6200) [ISSUE-6162] Escape wildcards on revised RS query (#6200) * Remove retry in ES query (#6191) Remove retry in ES query (#6191) * min/max * Fix #6161 - kill endpoint for Airflow REST (#6244) Fix #6161 - kill endpoint for Airflow REST (#6244) * Fixes #6031 & #6236 -- Handle binary field & UUID when ingesting sample data (#6233) Fixes #6031 & #6236 -- Handle binary field & UUID when ingesting sample data (#6233) * overwrite default sum function to add super for BQ overflow (#6252) * [TASK-6241] Cache ES ingestion when ingesting usage (#6276) * Cache ingestion * Uncomment secrets manager * Fix experiment stuff * Fix style * Add LRU cache * Add tests * Fix code smell * [TASK-6140] Add OMeta header to SQLAlchemy-based queries (#6293) [TASK-6140] Add OMeta header to SQLAlchemy-based queries (#6293) * Fix #6248: Use PUT API instead of POST for tag & tagCategory (#6344) * Fix #6248: Use PUT API instead of POST for tag & tagCategory * Restructure yield_tag topology * Renamed method to create_or_update * compressed logs * Update packages * feat(ui): sync OMD theme with AntD components (#6148) * feat(ui): sync omd theme with antd components * update package.json * fixed failing cypress * fix layout break issue Co-authored-by: Shailesh Parmar <[email protected]> (cherry picked from commit 574dbce) * Fix sql queries formatting Co-authored-by: Francisco J. Jurado Moreno <[email protected]> Co-authored-by: Teddy <[email protected]> Co-authored-by: Mayur Singal <[email protected]> Co-authored-by: Chirag Madlani <[email protected]>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








#6140
Describe your changes :
We wanted to add a header to all openmetadata queries in order to identify & filter them. We've achieved that by using SQLAlchemy's event listeners to intercept and alter all statements from the engine in
CommonDbSourceService. Seem to work on the inspector when inspecting connections derived from the same engine too. Example query extracted from the Redshift's system tables:We've also filtered all queries with the OpenMetadata & dbt headers as per the issue.
I only have access for a working setup of Redshift so we as we've modified several queries for other systems if we have some battery of integration tests it would be safer to run them.
Type of change :
Frontend Preview (Screenshots) :
N/A
Checklist:
Reviewers
@open-metadata/ingestion