Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix #48: It's OK to not calculate one partition
  • Loading branch information
jcjones committed May 24, 2022
commit 58ff96710a9b0d7c8df68844f0960a3dc0dd244b
4 changes: 4 additions & 0 deletions partitionmanager/table_append_partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,10 @@ def _get_rate_partitions_with_queried_timestamps(
exact_time_result = database.run(sql_select_cmd)
end = datetime.now()

if not exact_time_result:
log.debug("No result found for position %s", arg)
continue

assert len(exact_time_result) == 1
assert len(exact_time_result[0]) == 1
for key, value in exact_time_result[0].items():
Expand Down