Skip to content

Commit 4f27f18

Browse files
committed
Performance: partition pruning doesn't work if ts is float instead of integer
1 parent 35a187f commit 4f27f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netflowbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def _get_last_used_ts(job_id):
6060
if rec is None:
6161
return None
6262
last_used_ts, = rec
63-
return last_used_ts
63+
return int(last_used_ts)
6464

6565
def _get_current_max_ts():
6666
with get_db_cursor() as c:

0 commit comments

Comments
 (0)