Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions metadata-ingestion/src/datahub/ingestion/source/s3/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,8 +735,11 @@ def ingest_table(
)
aspects.append(schema_metadata)
except Exception as e:
logger.error(
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",
message="Schema may be missed for dataset because of failure when extracting schema from file",
context=f"dataset={table_data.display_name}, file={table_data.full_path}",
exc=e,
)
else:
logger.info(
Expand Down
Loading