From eb90f99788a5d90938c1536e2f92f980a0c50762 Mon Sep 17 00:00:00 2001 From: Jakob Cornell Date: Sun, 17 Apr 2022 21:38:34 -0500 Subject: [PATCH] Add another type cast to v1 worklist query --- disk_jumble/src/disk_jumble/verify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk_jumble/src/disk_jumble/verify.py b/disk_jumble/src/disk_jumble/verify.py index 5f37c16..063eef5 100644 --- a/disk_jumble/src/disk_jumble/verify.py +++ b/disk_jumble/src/disk_jumble/verify.py @@ -110,7 +110,7 @@ def _get_v1_worklist(conn, disk_id: int, block_ranges: List[NumericRange]) -> Li select relevant_slab.*, target_range * disk_blocks as target_span from relevant_slab - join unnest(%(block_ranges)s) as target_range + join unnest(%(block_ranges)s::int8range[]) as target_range on target_range && disk_blocks ), targeted_piece as ( -- 2.30.2