diff --git a/metadata-ingestion/src/datahub/ingestion/source/powerbi/m_query/native_sql_parser.py b/metadata-ingestion/src/datahub/ingestion/source/powerbi/m_query/native_sql_parser.py index 58f4e32c9bad5..2596273f4a8bb 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/powerbi/m_query/native_sql_parser.py +++ b/metadata-ingestion/src/datahub/ingestion/source/powerbi/m_query/native_sql_parser.py @@ -23,6 +23,8 @@ def remove_special_characters(native_query: str) -> str: ansi_escape_regx = re.compile(ANSI_ESCAPE_CHARACTERS) + logger.debug("Removing ANSI escape characters") + native_query = ansi_escape_regx.sub("", native_query) return native_query