Comments (5)
Looking at the checkpoint code, I see this line:
Am I misunderstanding what checkpoint does? Why is it being set to False
?
from delta-rs.
@echai58 change seems to be done 3 years ago ^^, but reading the protocol it mentions data_change=false if files were already present in a table, so I guess that's why in this context.
You could check what the behavior is of delta-spark and if you see the data_change being preserved as-is?
from delta-rs.
@echai58 change seems to be done 3 years ago ^^, but reading the protocol it mentions data_change=false if files were already present in a table, so I guess that's why in this context.
You could check what the behavior is of delta-spark and if you see the data_change being preserved as-is?
Yeah, in my eyes a checkpoint isn't really a transaction because it doesn't generate a commit file, so i feel it should preserve it. But yeah, I'll look into what the delta-spark behavior is, good call.
from delta-rs.
@rtyler @roeap do you know why it's set to False perhaps?
from delta-rs.
@ion-elgreco Seems like checkpointing with delta-spark also sets dataChange
to False. 🤷♂️ I guess that's the desired behavior.
I brought this up because I have a use case where I'm interested in figuring out which partitions were edited in the past n
days, so I know which partitions to selectively z-order, so I don't have to z-order the entire table. I was relying on the add_actions
table with the dataChange
and modificationTime
columns to determine this, but because of checkpointing, this seems to not work - do you have any alternatives?
from delta-rs.
Related Issues (20)
- Getting error message when running in lambda: message: "Too many open files"
- Create empty table failed on rust engine HOT 3
- RecordBatchWriter: MergeSchema not working when the table is partitioned HOT 4
- Do not add readerFeatures or writerFeatures keys under checkpoint files if minReaderVersion or minWriterVersion do not satisfy the requirements HOT 1
- Use Aliyun OSS as storage backend HOT 2
- Merge update+insert truncates a delta table if the table is big enough HOT 4
- Upgrade to pyo3 0.21.0 HOT 10
- Write struct with binary column failed with Json error: Binary is not supported by JSON
- write_deltalake identifies large_string as datatype even though string is set in schema HOT 2
- deltaTable.generate("symlink_format_manifest")
- Support for Arrow PyCapsule interface HOT 1
- Very slow s3 connection after 0.16.1 HOT 6
- LockClientError HOT 7
- ValueError: Partition value cannot be parsed from string. HOT 9
- Allow checkpoint creation when partion column is "timestampNtz " HOT 3
- Rust engine doesn't correctly seralize path for partions on timestamp on Windows HOT 3
- Pyarrow engine incorretly serialize timestamp with Z.
- Compacting produces smaller row groups than expected HOT 1
- Use gcs with s3-compatible interface: commit error 411 Length Required
- Generic S3 error: Error after 0 retries ... Broken pipe (os error 32) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from delta-rs.