You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/resources/orders_test.jsonl
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -82,5 +82,4 @@
82
82
{"name": "sub_query_in_where_missing_restriction", "sql": "SELECT id FROM orders WHERE id = 123 AND id IN (SELECT id FROM orders)", "errors": ["Missing restriction for table: orders column: id value: 123"], "fix": "SELECT id FROM orders WHERE id = 123 AND id IN (SELECT id FROM orders WHERE id = 123)", "data": [[123]]}
83
83
{"name": "select_in_order_by", "sql": "SELECT id FROM orders WHERE id = 123 ORDER BY (SELECT MAX(id) FROM orders)", "errors": ["Missing restriction for table: orders column: id value: 123"], "fix": "SELECT id FROM orders WHERE id = 123 ORDER BY (SELECT MAX(id) FROM orders WHERE id = 123)", "data": [[123]]}
84
84
{"name": "offset", "sql": "SELECT id FROM orders WHERE id = 123 LIMIT 1 OFFSET 0", "data": [[123]]}
85
-
{"name": "offset_missing_restriction", "sql": "SELECT id FROM orders WHERE id = 123 LIMIT 1 OFFSET (SELECT 0 FROM orders LIMIT 1)", "errors": ["Missing restriction for table: orders column: id value: 123"], "fix": "SELECT id FROM orders WHERE id = 123 LIMIT 1 OFFSET (SELECT 0 FROM orders WHERE id = 123 LIMIT 1)", "data": [[123]]}
86
85
{"name": "greater_equals", "sql": "SELECT id FROM orders WHERE id >= 123", "errors": ["Missing restriction for table: orders column: id value: 123"], "fix": "SELECT id FROM orders WHERE (id >= 123) AND id = 123", "data": [[123]]}
0 commit comments