Skip to content

Commit

Permalink
Set AddAction timestamps to milliseconds. Fixes delta-io#1124
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy Guy committed Feb 7, 2023
1 parent 8a82f79 commit 39367a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/deltalake/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def visitor(written_file: Any) -> None:
path,
size,
partition_values,
int(datetime.now().timestamp()),
int(datetime.now().timestamp() * 1000),
True,
json.dumps(stats, cls=DeltaJSONEncoder),
)
Expand Down

0 comments on commit 39367a2

Please sign in to comment.