Commit cc670e8
authored
Better document the relationship between
## Which issue does this PR close?
- Part of #20173
## Rationale for this change
I am debugging an issue related to the interplay of pre-existing
orderings, filtering and projections in FileScanConfig. As part of that
I am trying to understand how `Statistics` were handled by
`FileScanConfig` -- specifically when relatively speaking are the
projection and filtering applied
After some study, I have found that the statistics are (supposed?) to be
*before* applying the Filter and Projection from the scan, so let's
document that better. Also I found the schemas involved to be a bit
confusing.
I also would like to use this PR to validate my understanding of the
intended design
## What changes are included in this PR?
Update documentation
## Are these changes tested?
by CI
## Are there any user-facing changes?
Just documentation changes, no functional changesFileFormat::projection / FileFormat::filter and FileScanConfig::Statistics (#20188)1 parent 7788c73 commit cc670e8
4 files changed
Lines changed: 90 additions & 17 deletions
File tree
- datafusion
- datasource/src
- physical-plan/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| 73 | + | |
67 | 74 | | |
68 | 75 | | |
69 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
70 | 81 | | |
| 82 | + | |
71 | 83 | | |
72 | 84 | | |
73 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
74 | 89 | | |
75 | 90 | | |
76 | 91 | | |
77 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
78 | 95 | | |
79 | 96 | | |
80 | 97 | | |
| 98 | + | |
81 | 99 | | |
82 | 100 | | |
| 101 | + | |
83 | 102 | | |
84 | 103 | | |
| 104 | + | |
85 | 105 | | |
86 | 106 | | |
87 | 107 | | |
| |||
135 | 155 | | |
136 | 156 | | |
137 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
138 | 171 | | |
139 | 172 | | |
140 | 173 | | |
| |||
220 | 253 | | |
221 | 254 | | |
222 | 255 | | |
223 | | - | |
| 256 | + | |
224 | 257 | | |
225 | 258 | | |
226 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
60 | 59 | | |
61 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
62 | 73 | | |
63 | 74 | | |
64 | 75 | | |
| |||
169 | 180 | | |
170 | 181 | | |
171 | 182 | | |
172 | | - | |
173 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
174 | 188 | | |
175 | 189 | | |
176 | 190 | | |
| |||
283 | 297 | | |
284 | 298 | | |
285 | 299 | | |
286 | | - | |
287 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
288 | 303 | | |
289 | 304 | | |
290 | 305 | | |
291 | 306 | | |
292 | 307 | | |
293 | 308 | | |
| 309 | + | |
294 | 310 | | |
295 | 311 | | |
296 | | - | |
| 312 | + | |
| 313 | + | |
297 | 314 | | |
298 | 315 | | |
299 | 316 | | |
300 | 317 | | |
301 | 318 | | |
302 | 319 | | |
303 | 320 | | |
304 | | - | |
305 | | - | |
| 321 | + | |
| 322 | + | |
306 | 323 | | |
307 | 324 | | |
308 | 325 | | |
309 | 326 | | |
310 | 327 | | |
| 328 | + | |
311 | 329 | | |
312 | 330 | | |
313 | 331 | | |
| |||
332 | 350 | | |
333 | 351 | | |
334 | 352 | | |
335 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
336 | 359 | | |
337 | 360 | | |
338 | 361 | | |
| |||
371 | 394 | | |
372 | 395 | | |
373 | 396 | | |
374 | | - | |
375 | | - | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
376 | 409 | | |
377 | 410 | | |
378 | 411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
181 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
182 | 188 | | |
183 | 189 | | |
184 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
| 580 | + | |
580 | 581 | | |
581 | 582 | | |
582 | 583 | | |
| |||
0 commit comments