Closed MaxGekk closed 2 months ago
@cloud-fan Could you have a look at the PR, please. It fixes compilation issues.
I think Delta master branch needs to cross-compile with both Spark master and 3.5 branches. We should create a shim layer for checkError
We should create a shim layer for checkError
@cloud-fan As an alternative solution, we could pass the first two arguments exception
and condition
(errorClass
) by positions not by names. The rest args could be passed by names. I have double checked all checkError
, they all starts from those two args:
protected def checkError(
exception: SparkThrowable,
condition: String,
@cloud-fan Compilation has been fixed. The failed tests are not related to my changes, I hope.
Which Delta project/connector is this regarding?
Description
In the PR, I propose to use the
condition
parameter instead oferrorClass
in calls ofcheckError
becauseerrorClass
was renamed in Spark by the PR https://github.com/apache/spark/pull/48027. This PR fixes compilation issues like:How was this patch tested?
By compiling locally.
Does this PR introduce any user-facing changes?
No. This makes changes in tests only.