Commit ce2f153
authored
fix(proto): preserve empty projection when ser/de MemoryScanExec (#24087)
## Which issue does this PR close?
- Closes #24085
## Rationale for this change
Empty projection is not ser/de correctly in MemoryScanExec
## What changes are included in this PR?
Use same approach as `FilterExec`, `HashJoinExec` etc for projection
encode/decode
## Are these changes tested?
Yes, new roundtrip test `roundtrip_memory_source_empty_projection`,
which fails on main.
## Are there any user-facing changes?
No1 parent 373fab7 commit ce2f153
2 files changed
Lines changed: 31 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1179 | 1179 | | |
1180 | 1180 | | |
1181 | 1181 | | |
1182 | | - | |
1183 | | - | |
1184 | | - | |
1185 | | - | |
1186 | | - | |
1187 | | - | |
1188 | | - | |
1189 | | - | |
1190 | | - | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
1191 | 1187 | | |
1192 | 1188 | | |
1193 | 1189 | | |
| |||
2364 | 2360 | | |
2365 | 2361 | | |
2366 | 2362 | | |
2367 | | - | |
2368 | | - | |
2369 | | - | |
2370 | | - | |
2371 | | - | |
2372 | | - | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
| 2367 | + | |
| 2368 | + | |
| 2369 | + | |
2373 | 2370 | | |
2374 | 2371 | | |
2375 | 2372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2678 | 2678 | | |
2679 | 2679 | | |
2680 | 2680 | | |
| 2681 | + | |
| 2682 | + | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
2681 | 2700 | | |
2682 | 2701 | | |
2683 | 2702 | | |
| |||
0 commit comments