feat: modernize Table API with async-only design#537
Draft
xushiyan wants to merge 1 commit intoapache:mainfrom
Draft
feat: modernize Table API with async-only design#537xushiyan wants to merge 1 commit intoapache:mainfrom
xushiyan wants to merge 1 commit intoapache:mainfrom
Conversation
6a942d3 to
adced71
Compare
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.
Description
Modernize the hudi-rs Table API by removing all blocking API twins, improving schema methods, and making Python bindings truly async.
Schema API changes:
get_schema()now returns data schema without meta fields (previously included them)get_schema_with_meta_fields()for when meta fields are neededget_avro_schema()toget_schema_in_avro_str()for clarityBlocking API removal:
_blockingmethod variants fromTable,FileGroupReader, and metadata table#[test]to#[tokio::test] asyncPython async migration:
rt().block_on()pattern withpyo3-async-runtimesfuture_into_pyHudiTableandHudiDataFusionDataSourceconstructors become async static methods (await HudiTable.new(...))pytest-asynciofor async test supportCloses #363
How are the changes test-covered