Skip to content

Commit 8436a40

Browse files
Resolve more compilation issues
1 parent 9fa3259 commit 8436a40

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

spark/src/main/scala/io/delta/tables/execution/VacuumTableCommand.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ object VacuumTableCommand {
7777
dryRun: Boolean): VacuumTableCommand = {
7878
val child = UnresolvedDeltaPathOrIdentifier(path, table, "VACUUM")
7979
val unresolvedInventoryTable = inventoryTable.map(rt =>
80-
UnresolvedTable(rt.nameParts, "VACUUM", relationTypeMismatchHint = None))
80+
UnresolvedTable(rt.nameParts, "VACUUM"))
8181
VacuumTableCommand(child, horizonHours, unresolvedInventoryTable, inventoryQuery, dryRun)
8282
}
8383
}

spark/src/main/scala/org/apache/spark/sql/delta/ResolveDeltaMergeInto.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ object ResolveDeltaMergeInto {
7878
throw new DeltaAnalysisException(
7979
errorClass = "DELTA_MERGE_UNRESOLVED_EXPRESSION",
8080
messageParameters = Array(a.sql, mergeClauseType, cols),
81+
cause = None,
8182
origin = Some(a.origin))
8283
}
8384
}
@@ -308,6 +309,7 @@ object ResolveDeltaMergeInto {
308309
errorClass = "DELTA_MERGE_RESOLVED_ATTRIBUTE_MISSING_FROM_INPUT",
309310
messageParameters = Array(missingAttributes, input,
310311
resolvedMerge.simpleString(SQLConf.get.maxToStringFields)),
312+
cause = None,
311313
origin = Some(resolvedMerge.origin)
312314
)
313315
}

0 commit comments

Comments
 (0)