Skip to content
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

feat(rust): fix size_in_bytes in last_checkpoint_ to i64 #2649

Merged
merged 2 commits into from
Jul 6, 2024

Conversation

sherlockbeard
Copy link
Contributor

Description

see #2646

Related Issue(s)

closes #2646

Documentation

@github-actions github-actions bot added the binding/rust Issues for the Rust crate label Jul 4, 2024
@sherlockbeard sherlockbeard reopened this Jul 5, 2024
@rtyler
Copy link
Member

rtyler commented Jul 5, 2024

@sherlockbeard thanks for the pull request! I had been following the issue but haven't had the time to consider it further. Do you know if Spark writes int64s in the JSON stats?64-bit or larger are of unclear validity in JSON to me, since JavaScript loves 32bit numbers

if Spark is willing to write 64bit numbers to JSON, I sure am too 😄

@sherlockbeard sherlockbeard changed the title feat(rust): fix DeletionVectorDescriptor size_in_bytes feat(rust): fix size_in_bytes in last_checkpoint_ to i64 Jul 5, 2024
@sherlockbeard
Copy link
Contributor Author

sherlockbeard commented Jul 5, 2024

@rtyler revised my changes !.

Do you know if Spark writes int64s in the JSON stats?

Yes

https://github.com/delta-io/delta/blob/97439835a4a667ac2ad86ec6054f0e85e8214760/spark/src/main/scala/org/apache/spark/sql/delta/LastCheckpointInfo.scala#L102-L112

looks like size and num_of_add_files are also long in spark .

@rtyler rtyler enabled auto-merge (squash) July 6, 2024 14:43
@rtyler rtyler merged commit 59849dd into delta-io:main Jul 6, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

i32 limit in JSON stats
2 participants