Open MaicoTimmerman opened 2 days ago
The inCommitTimestamp feature of Delta Kernel API expects the operationalParameters of CommitInfo to be a MapType<StringType, StringType>.
inCommitTimestamp
operationalParameters
CommitInfo
MapType<StringType, StringType>
The newly added autoCompact feature added the auto flag to operationalParamaters as a boolean, which is incompatible.
autoCompact
auto
operationalParamaters
This PR restores that expectation of the inCommitTimestamp feature for the OPTIMIZE operation in the Spark Connector.
OPTIMIZE
Resolves #3888.
I've attached a test-case.
We change format of the field commitInfo.operationalParameters.auto field from boolean to string.
commitInfo.operationalParameters.auto
Which Delta project/connector is this regarding?
Description
The
inCommitTimestamp
feature of Delta Kernel API expects theoperationalParameters
ofCommitInfo
to be aMapType<StringType, StringType>
.The newly added
autoCompact
feature added theauto
flag tooperationalParamaters
as a boolean, which is incompatible.This PR restores that expectation of the
inCommitTimestamp
feature for theOPTIMIZE
operation in the Spark Connector.Resolves #3888.
How was this patch tested?
I've attached a test-case.
Does this PR introduce any user-facing changes?
We change format of the field
commitInfo.operationalParameters.auto
field from boolean to string.