()
| 2114 | |
| 2115 | #[test] |
| 2116 | fn select_order_by_index_oob() { |
| 2117 | let sql = "SELECT id FROM person ORDER BY 2"; |
| 2118 | let err = logical_plan(sql) |
| 2119 | .expect_err("query should have failed") |
| 2120 | .strip_backtrace(); |
| 2121 | |
| 2122 | assert_snapshot!( |
| 2123 | err, |
| 2124 | @"Error during planning: Order by column out of bounds, specified: 2, max: 1" |
| 2125 | ); |
| 2126 | } |
| 2127 | |
| 2128 | #[test] |
| 2129 | fn select_with_order_by() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…