Commit c3a97f6
committed
Fix file:// URL handling in _register_object_store_for_path
- Allow empty netloc for file:// scheme (e.g. file:///tmp/data.parquet)
- Require netloc (host/bucket) only for non-file schemes (s3, gs, az, https)
- Add doctest +SKIP to register_parquet example referencing nonexistent file
- Use Path.as_uri() in end-to-end tests for portable file:// URL construction
- Add tests for file:// acceptance and scheme-without-host rejection1 parent beaa3df commit c3a97f6
2 files changed
Lines changed: 34 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
627 | | - | |
| 627 | + | |
| 628 | + | |
628 | 629 | | |
629 | 630 | | |
630 | 631 | | |
631 | | - | |
| 632 | + | |
| 633 | + | |
632 | 634 | | |
633 | 635 | | |
634 | | - | |
| 636 | + | |
635 | 637 | | |
636 | 638 | | |
637 | 639 | | |
638 | 640 | | |
639 | 641 | | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
640 | 651 | | |
641 | | - | |
| 652 | + | |
642 | 653 | | |
643 | 654 | | |
644 | 655 | | |
| |||
1096 | 1107 | | |
1097 | 1108 | | |
1098 | 1109 | | |
1099 | | - | |
| 1110 | + | |
1100 | 1111 | | |
1101 | 1112 | | |
1102 | 1113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
92 | 107 | | |
93 | 108 | | |
94 | 109 | | |
| |||
258 | 273 | | |
259 | 274 | | |
260 | 275 | | |
261 | | - | |
| 276 | + | |
262 | 277 | | |
263 | 278 | | |
264 | 279 | | |
| |||
277 | 292 | | |
278 | 293 | | |
279 | 294 | | |
280 | | - | |
| 295 | + | |
281 | 296 | | |
282 | 297 | | |
283 | 298 | | |
| |||
0 commit comments