Skip to content

Commit

Permalink
Merge branch 'fd-write' of github.com:Fokko/iceberg-python into fd-write
Browse files Browse the repository at this point in the history
  • Loading branch information
Fokko committed Jan 15, 2024
2 parents 2a65357 + e395a8f commit a013f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiceberg/table/snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def _truncate_table_summary(summary: Summary, previous_summary: Mapping[str, str
summary[prop] = '0'

def get_prop(prop: str) -> int:
value = previous_summary.get(prop, '0')
value = previous_summary.get(prop) or '0'
try:
return int(value)
except ValueError as e:
Expand Down

0 comments on commit a013f35

Please sign in to comment.