Skip to content

Commit

Permalink
[Spark] Flip isDeltaTable.throwOnError to true (#3422)
Browse files Browse the repository at this point in the history
## Description
- Change the default value of the isDeltaTable.throwOnError flag to
`true`.

## How was this patch tested?
Existing tests (was already `true` in testing).

## Does this PR introduce _any_ user-facing changes?
Resolving a Delta that is accessed by path (e.g. DeltaTable.forPath() or
SELECT ... FROM delta.<path>) will now forward exceptions thrown while
accessing , instead of always throwing a DELTA_MISSING_DELTA_TABLE
exception.
This helps locating issues such as missing access permissions without
having to through support.
  • Loading branch information
larsk-db authored Jul 25, 2024
1 parent 69230a1 commit de87d7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ trait DeltaSQLConfBase {
| Delta table.
|""".stripMargin)
.booleanConf
.createWithDefault(Utils.isTesting)
.createWithDefault(true)

val DELTA_LEGACY_STORE_WRITER_OPTIONS_AS_PROPS =
buildConf("legacy.storeOptionsAsProperties")
Expand Down

0 comments on commit de87d7f

Please # to comment.