Commit 440ee8d
committed
fix(sql): apply table-scan rewrite before EXPLAIN display
The EXPLAIN display path in VirtualExecutionPlan::fmt_as was generating
SQL from the pre-rewrite plan, causing EXPLAIN output to not reflect
the actual pushed-down query. Apply RewriteTableScanAnalyzer::rewrite
before SQL rendering so EXPLAIN output matches final_sql().1 parent 68d41cf commit 440ee8d
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
285 | 288 | | |
286 | | - | |
| 289 | + | |
287 | 290 | | |
288 | 291 | | |
289 | 292 | | |
| |||
0 commit comments