Commit 3dd82e4
authored
fix: read directory error on localfs (#1445)
When DataFusion tries to query a date range where no manifest exists,
it calls into the listing table functionality
The listing table builder tries to generate prefixes and list directories for those date ranges
Previously, if those directories didn't exist,
it would return an error that propagated up as a DataFusion External error
```
Execution Error: Query Execution failed due to error in datafusion: External error: IO Error: No such file or directory (os error 2)
```
Now, it gracefully returns an empty list,
allowing the query to continue and return no results instead of failing1 parent a8bf618 commit 3dd82e4
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
474 | 478 | | |
475 | 479 | | |
476 | 480 | | |
| |||
501 | 505 | | |
502 | 506 | | |
503 | 507 | | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
504 | 512 | | |
505 | 513 | | |
506 | 514 | | |
| |||
531 | 539 | | |
532 | 540 | | |
533 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
534 | 546 | | |
535 | 547 | | |
536 | 548 | | |
| |||
0 commit comments