[python] optimize schema validation and support binary/large_binary type conversion#7088
Draft
XiaoHongbo-Hope wants to merge 5 commits intoapache:masterfrom
Draft
[python] optimize schema validation and support binary/large_binary type conversion#7088XiaoHongbo-Hope wants to merge 5 commits intoapache:masterfrom
XiaoHongbo-Hope wants to merge 5 commits intoapache:masterfrom
Conversation
890e927 to
08099eb
Compare
…ype conversion add doc for ray convert large binary to binary fix test case failure clean code
08099eb to
0ddb8b2
Compare
JingsongLi
reviewed
Jan 21, 2026
| self.assertIsNotNone(ray_dataset, "Ray dataset should not be None") | ||
| self.assertEqual(ray_dataset.count(), 5, "Should have 5 rows") | ||
|
|
||
| def test_ray_data_read_with_blob(self): |
Contributor
There was a problem hiding this comment.
This test can be passed in the master.
Contributor
Author
There was a problem hiding this comment.
This test can be passed in the master.
I need to think more about this PR and get back to you.
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.
Purpose
Optimize schema validation
preserve_index=Falseinwrite_pandas()to prevent pandas index from creating extra columnswrite_cols=Noneand optimize error messageBinary/Large_Binary Type Compatibility
large_binary()tobinary()when reading from Paimon tables, make it compatibility by supporting binary/large_binary type conversionTests
ray_data_test.test_ray_data_read_with_blobAPI and Format
Documentation
add note about ray data converts
large_binary()tobinary()when reading from Paimon tables inpython-api.md