Commit 6424848
Disable FileSystem cache for S3, Azure, and GCS in SSP when using temp credentials (delta-io#6053)
#### Which Delta project/connector is this regarding?
- [x] Spark
- [ ] Standalone
- [ ] Flink
- [ ] Kernel
- [ ] Other (fill in here)
## Description
Set `disable.cache` in the Hadoop configuration built for server-side
planned table reads when injecting temporary credentials from the IRC
response. This ensures each scan uses a fresh FileSystem instance and
avoids AccessDenied when temp credentials expire and a cached FileSystem
is reused.
## How was this patch tested?
Existing server-side planning tests; no new tests (configuration-only
change).
## Does this PR introduce _any_ user-facing changes?
No.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 57d9bd1 commit 6424848
File tree
1 file changed
+10
-1
lines changed- spark/src/main/scala/org/apache/spark/sql/delta/serverSidePlanning
1 file changed
+10
-1
lines changedLines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
406 | 409 | | |
407 | 410 | | |
408 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
409 | 415 | | |
410 | 416 | | |
411 | 417 | | |
412 | 418 | | |
413 | 419 | | |
| 420 | + | |
| 421 | + | |
414 | 422 | | |
415 | 423 | | |
416 | 424 | | |
417 | 425 | | |
418 | 426 | | |
| 427 | + | |
419 | 428 | | |
420 | 429 | | |
421 | 430 | | |
| |||
0 commit comments