Commit 3cd13da
committed
Fix divide by zero error when all URI size estimations fail
- Add check for empty row_sizes list before calculating average
- Fall back to using number of rows in block when no file sizes are available
- Prevents ZeroDivisionError when all URIs fail to provide size information1 parent 47131b2 commit 3cd13da
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
284 | 290 | | |
285 | 291 | | |
286 | 292 | | |
| |||
0 commit comments