OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Extension of the range of filter changes from the lineage ingestion UI.

Open cafenoctua opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. I want to target lineage ingestions that do not match the filter conditions in ingestion/src/metadata/ingestion/source/database/bigquery/lineage.py, depending on how they are executed. Therefore, we would like to increase the range of filter conditions that can be changed from the UI.

Related Issues

Multiple processes are being executed using BQ scheduled query. With this execution method, the statement_type of jobs_by_project is output as a SELECT. Because the filter is narrowing down the statement_type with fixed values, lineage inquestions are not getting the data they want.

Describe the solution you'd like ingestion/src/metadata/ingestion/source/database/bigquery/lineage.py has default values and user-definable variables.

Describe alternatives you've considered It would be good to change to a method of execution that is not a scheduled query. However, the team does not have the resources to do this at this time, and if possible, we would like to change to the proposed method.

Additional context Proposed code changes. (BigQuery Only)

https://github.com/open-metadata/OpenMetadata/blob/60ed221cf1730dccd9daae6fb6883b89a0291dbc/ingestion/src/metadata/ingestion/source/database/query_parser_source.py#L112-L113

if "statement_type" in self.source_config.filterCondition:
    return f"{self.source_config.filterCondition}"
elif self.source_config.filterCondition:

cafenoctua avatar Aug 27 '24 11:08 cafenoctua

Thanks @cafenoctua for your feature request, your involvement is a real benefit to the OpenMetadata project and its growth. In the meantime, the best way to keep track of all the latest updates is by bookmarking OpenMetadata with a star! And, if you haven’t already, I'd like to invite you to join our upcoming virtual community meetup next Wednesday. We’ll be sharing the OMD Q1 roadmap along with a community spotlight featuring real-world use cases from Wix. Hope to see you there!

smga3000 avatar Jan 23 '26 16:01 smga3000