Repository navigation
[Python] Add Arrow materializers for table changes - #992
Merged
PatrickJin-db merged 10 commits intoNov 9, 2026
Merged
Conversation
added 4 commits
July 29, 2026 22:39
Signed-off-by: Zac Davies <zachary.davies+data@databricks.com>
Signed-off-by: Zac Davies <zachary.davies+data@databricks.com>
Signed-off-by: Zac Davies <zachary.davies+data@databricks.com>
Signed-off-by: Zac Davies <zachary.davies+data@databricks.com>
zacdav-db
force-pushed
the
python-cdf-arrow-table-handles
branch
from
July 29, 2026 12:42
c4cceeb to
d9f6df6
Compare
zacdav-db
marked this pull request as ready for review
August 7, 2026 09:32
Collaborator
|
also FYI you might encounter merge conflicts with #1006 |
Contributor
Author
Yep, I've done a review and will leave a comment on that PR to see if can make that seamless. |
PatrickJin-db
previously approved these changes
Nov 5, 2026
Share versionless CDF scans between pandas and Arrow, preserve the physical Parquet view schema, and extend the existing view tests to Arrow tables and readers.
Derive insert and delete from non-CDC actions before reading physical columns. Use pa.repeat for the constant Arrow column and extend the existing parity test to cover null and conflicting file values.
Contributor
Author
|
@PatrickJin-db the fix is pushed in 2677806. Could you take another look when you have a chance? Thanks. |
PatrickJin-db
approved these changes
Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Arrow-native materialization for table changes through:
TableChanges.to_arrow()TableChanges.to_record_batches()TableChanges.to_record_batch_reader()load_table_changes_as_arrow(...)Both parquet and delta-kernel CDF paths are supported.
Implementation
_add_special_cdf_schemaoutput behavior while avoiding input mutationTesting
186 passed, 131 skipped; integration tests skippedsphinx-buildis not installedgit diff --check: passedPart of #860; follows the snapshot Arrow materializers merged in #949.