-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG][SPARK] Delta Optimize CommitInfo's operationalParameters incompatible with Delta Kernel API CommitInfo #3888
Comments
My proposal would be to change the
Alternatively, we can adapt how |
…eter' in CommitInfo
…eter' in CommitInfo
That would resolve the immediate symptom, but -- This issue is super annoying because there's no guarantee from the Delta spec that {
"commitInfo": {
"operationParameters": ["I", "committed", "version", 23, "append-only", false],
} Technically, the spec doesn't even mandate that the top-level {
"commitInfo": "yup, I committed!",
} |
Bug
Unable to read in commit info timestamp after running optimize.
Which Delta project/connector is this regarding?
Describe the problem
Steps to reproduce
Test case for
kernel/kernel-defaults/src/test/scala/io/delta/kernel/defaults/InCommitTimestampSuite.scala
:Observed results
Delta Kernel API is unable to retrieve the CommitInfo's, due to new operationParameter field being arbitrary JSON.
Expected results
Being able to read the CommitInfo.
Further details
According to the protocol, the commit info field can be arbitrary JSON:
The delta log JSON file will be:
Environment information
Willingness to contribute
The Delta Lake Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the Delta Lake code base?
The text was updated successfully, but these errors were encountered: