Commit e8e6bde
committed
Fix StreamingChunkDownloadTask to catch RuntimeException (parity with #1302)
PR #1302 fixed ChunkLinkDownloadService (legacy RemoteChunkProvider path)
to catch DatabricksError (extends RuntimeException) when the server
returns HTTP 404 for expired results. StreamingChunkDownloadTask had the
same gap — only caught IOException | SQLException, letting DatabricksError
escape uncaught and leaving the chunk in a bad state.
Widen catch to IOException | SQLException | RuntimeException so expired
result errors are retried properly.
Co-authored-by: Isaac
Signed-off-by: Gopal Lal <gopal.lal@databricks.com>1 parent b8d30b7 commit e8e6bde
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments