We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d46c767 commit 75ee3c9Copy full SHA for 75ee3c9
metadata-ingestion/src/datahub/ingestion/source/s3/source.py
@@ -735,8 +735,11 @@ def ingest_table(
735
)
736
aspects.append(schema_metadata)
737
except Exception as e:
738
- logger.error(
739
- f"Failed to extract schema from file {table_data.full_path}. The error was:{e}"
+ self.report.report_warning(
+ title="Failed to extract schema from file",
740
+ message="Schema may be missed for dataset because of failure when extracting schema from file",
741
+ context=f"dataset={table_data.display_name}, file={table_data.full_path}",
742
+ exc=e,
743
744
else:
745
logger.info(
0 commit comments