From 82412e7148fca951fcaf5717cb4196971243558d Mon Sep 17 00:00:00 2001 From: Harshal Sheth Date: Fri, 26 Jul 2024 02:07:00 -0700 Subject: [PATCH] fix(ingest/looker): downgrade missing chart type log level (#10996) --- .../datahub/ingestion/source/looker/looker_source.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/metadata-ingestion/src/datahub/ingestion/source/looker/looker_source.py b/metadata-ingestion/src/datahub/ingestion/source/looker/looker_source.py index 53f2e1fefce7b3..d61458d8e924aa 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/looker/looker_source.py +++ b/metadata-ingestion/src/datahub/ingestion/source/looker/looker_source.py @@ -597,19 +597,21 @@ def _get_chart_type( } type_str = dashboard_element.type if not type_str: - self.reporter.report_warning( + self.reporter.info( title="Unrecognized Chart Type", - message=f"Chart type {type_str} is not recognized. Setting to None", - context=f"Dashboard Id: {dashboard_element.id}", + message="Chart is missing a chart type.", + context=f"Chart Id: {dashboard_element.id}", + log=False, ) return None try: chart_type = type_mapping[type_str] except KeyError: - self.reporter.report_warning( + self.reporter.info( title="Unrecognized Chart Type", message=f"Chart type {type_str} is not recognized. Setting to None", - context=f"Dashboard Id: {dashboard_element.id}", + context=f"Chart Id: {dashboard_element.id}", + log=False, ) chart_type = None