Repository navigation
[Python] Add Arrow materializers for table snapshots - #949
Merged
PatrickJin-db merged 20 commits intoJul 29, 2026
Merged
Conversation
zacdav-db
force-pushed
the
python-arrow-table-handles
branch
from
May 19, 2026 06:25
a799778 to
5eb7c90
Compare
zacdav-db
marked this pull request as ready for review
May 19, 2026 06:32
Contributor
Author
|
@PatrickJin-db this follows on from #862 (once merged) |
zacdav-db
force-pushed
the
python-arrow-table-handles
branch
2 times, most recently
from
June 13, 2026 01:25
4edb330 to
a660043
Compare
zacdav-db
force-pushed
the
python-arrow-table-handles
branch
from
July 17, 2026 05:05
f6d08c5 to
02b1cb1
Compare
added 4 commits
July 17, 2026 15:35
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-arrow-table-handles
branch
from
July 17, 2026 05:43
5028f8b to
afd537b
Compare
Signed-off-by: Zac Davies <zachary.davies+data@databricks.com>
PatrickJin-db
left a comment
Collaborator
There was a problem hiding this comment.
Logic seems fine now but I would strongly prefer more test coverage. We also need to split up reader.py but that can be done after all the arrow PRs are merged.
added 8 commits
July 21, 2026 17:07
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>
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>
Signed-off-by: Zac Davies <zachary.davies+data@databricks.com>
Contributor
Author
|
@PatrickJin-db Reused the existing snapshot coverage for pandas/Arrow parity, including parquet and kernel paths. |
PatrickJin-db
previously approved these changes
Jul 23, 2026
Signed-off-by: Zac Davies <zachary.davies+data@databricks.com>
added 4 commits
July 24, 2026 11:30
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>
Contributor
Author
|
@PatrickJin-db addressed your comments:
|
Signed-off-by: Zac Davies <zachary.davies+data@databricks.com>
PatrickJin-db
approved these changes
Jul 29, 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 materializers to Python table snapshots, following the staged object API plan in #860 and building on the table-handle APIs from #862.
This PR adds snapshot support through:
to_arrow()to_record_batches()to_record_batch_reader()It also keeps the URL-based
load_as_arrow(...)helper available for parity with the existing legacy read APIs.Scope
RecordBatchiteration andRecordBatchReadersupporttimestampcolumns normalized totimestamp[us, UTC]so parquet and delta-kernel paths return consistent schemasCDF Arrow materialization is intentionally split into a follow-up PR.
Not Included
Testing
87 passed, 126 skippeddev/lint-python(compile, black, pycodestyle, flake8, mypy): passedsphinx-buildis not installedgit diff --check upstream/main: passedPart of #860; builds on #862.