diff --git a/metadata-ingestion/src/datahub/ingestion/source/powerbi/m_query/resolver.py b/metadata-ingestion/src/datahub/ingestion/source/powerbi/m_query/resolver.py index 5f29f649652fd..35cf6b9c782b0 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/powerbi/m_query/resolver.py +++ b/metadata-ingestion/src/datahub/ingestion/source/powerbi/m_query/resolver.py @@ -356,8 +356,9 @@ def _process_invoke_expression( ) if arg_list is None: self.reporter.report_warning( - f"{self.table.full_name}-arg-list", - f"Argument list not found for data-access-function {data_access_func}", + title="M-Query Resolver Error", + message="Unable to extract lineage from parsed M-Query expression (missing argument list)", + context=f"{self.table.full_name}: argument list not found for data-access-function {data_access_func}", ) return None @@ -377,8 +378,9 @@ def _process_invoke_expression( f"Function invocation without argument in expression = {invoke_expression.pretty()}" ) self.reporter.report_warning( - f"{self.table.full_name}-variable-statement", - "Function invocation without argument", + title="M-Query Resolver Error", + message="Unable to extract lineage from parsed M-Query expression (function invocation without argument)", + context=f"{self.table.full_name}: function invocation without argument", ) return None @@ -403,8 +405,9 @@ def _process_invoke_expression( f"Either list_expression or type_expression is not found = {invoke_expression.pretty()}" ) self.reporter.report_warning( - f"{self.table.full_name}-variable-statement", - "Function argument expression is not supported", + title="M-Query Resolver Error", + message="Unable to extract lineage from parsed M-Query expression (function argument expression is not supported)", + context=f"{self.table.full_name}: function argument expression is not supported", ) return None