-- trap: jsonpath compares jsonb numbers exactly, a float8 leaf holds the rounded value -- shape: trap -- expect: plain -- sets: K4000 -- key: - SELECT o.lang, count(*) AS orders FROM orders o WHERE o.tenant_id IN ({tenants}) AND o.deleted_at IS NULL AND jsonb_path_exists(o.items, '$[*] ? (@.price > 100)') GROUP BY 1 ORDER BY 1