From 728c4d4d82818e12b2b38ae19d9b387204c8a6af Mon Sep 17 00:00:00 2001 From: Harshal Sheth Date: Thu, 4 Apr 2024 13:25:41 -0700 Subject: [PATCH] fix(ingest): suppress all column-level parsing errors --- .../src/datahub/sql_parsing/sqlglot_lineage.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/metadata-ingestion/src/datahub/sql_parsing/sqlglot_lineage.py b/metadata-ingestion/src/datahub/sql_parsing/sqlglot_lineage.py index adf48d064be5f..de648ec29b233 100644 --- a/metadata-ingestion/src/datahub/sql_parsing/sqlglot_lineage.py +++ b/metadata-ingestion/src/datahub/sql_parsing/sqlglot_lineage.py @@ -906,12 +906,7 @@ def _sqlglot_lineage_inner( except CooperativeTimeoutError as e: logger.debug(f"Timed out while generating column-level lineage: {e}") debug_info.column_error = e - except ( - SqlUnderstandingError, - ValueError, - IndexError, - sqlglot.errors.SqlglotError, - ) as e: + except Exception as e: logger.debug(f"Failed to generate column-level lineage: {e}", exc_info=True) debug_info.column_error = e