Commit a4a3818
committed
Strip whitespace from URIs in get_file_source_path
Deferred dataset source_uris can contain stray leading/trailing
whitespace (e.g. a newline picked up when the URI was pasted into a
workflow input). Commit 4f60a2a switched score_url_match from
substring to strict prefix matching, so such URIs now score 0 on every
file source and materialization fails with "Could not find handler for
URI [...]" in the workflow scheduler.
Strip the URI once at the top of get_file_source_path so both
find_best_match and to_relative_path see the normalized value. This
heals already-persisted rows without a data migration.1 parent d9e498f commit a4a3818
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
0 commit comments