From: Jakob Cornell Date: Mon, 18 Apr 2022 02:38:34 +0000 (-0500) Subject: Add another type cast to v1 worklist query X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=eb90f99788a5d90938c1536e2f92f980a0c50762;p=eros.git Add another type cast to v1 worklist query --- 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 (