()
| 268 | |
| 269 | #[test] |
| 270 | fn intersect() -> Result<()> { |
| 271 | let sql = "SELECT col_int32, col_utf8 FROM test \ |
| 272 | INTERSECT SELECT col_int32, col_utf8 FROM test \ |
| 273 | INTERSECT SELECT col_int32, col_utf8 FROM test"; |
| 274 | let plan = test_sql(sql)?; |
| 275 | |
| 276 | assert_snapshot!( |
| 277 | format!("{plan}"), |
| 278 | @r" |
| 279 | LeftSemi Join: left.col_int32 = test.col_int32, left.col_utf8 = test.col_utf8 |
| 280 | Aggregate: groupBy=[[left.col_int32, left.col_utf8]], aggr=[[]] |
| 281 | LeftSemi Join: left.col_int32 = right.col_int32, left.col_utf8 = right.col_utf8 |
| 282 | Aggregate: groupBy=[[left.col_int32, left.col_utf8]], aggr=[[]] |
| 283 | SubqueryAlias: left |
| 284 | TableScan: test projection=[col_int32, col_utf8] |
| 285 | SubqueryAlias: right |
| 286 | TableScan: test projection=[col_int32, col_utf8] |
| 287 | TableScan: test projection=[col_int32, col_utf8] |
| 288 | " |
| 289 | ); |
| 290 | Ok(()) |
| 291 | } |
| 292 | |
| 293 | #[test] |
| 294 | fn between_date32_plus_interval() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…