Skip to content

Commit

Permalink
feat(ingest/s3): use latest file to infer metadata if single dataset …
Browse files Browse the repository at this point in the history
…represents a set of files
  • Loading branch information
mayurinehate committed Feb 1, 2023
1 parent fe910e5 commit 2d79970
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions metadata-ingestion/src/datahub/ingestion/source/s3/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,9 @@ def get_workunits(self) -> Iterable[MetadataWorkUnit]:
table_dict[table_data.table_path].timestamp
< table_data.timestamp
):
table_dict[
table_data.table_path
].full_path = table_data.full_path
table_dict[
table_data.table_path
].timestamp = table_data.timestamp
Expand Down

0 comments on commit 2d79970

Please sign in to comment.