Repository navigation
Add PyWayang DataQuanta.collect() support - #874
Open
Kaileshwar16 wants to merge 3 commits into
Open
Kaileshwar16 wants to merge 3 commits into
Kaileshwar16 wants to merge 3 commits into
Conversation
Return supported in-memory results through the existing JSON execution path, preserving terminal Python values and legacy REST/text-sink behavior. Refs apache#869; stacked on apache#870. Generated-by: OpenAI Codex (GPT-6)
Derive serialized output connections from the selected plan's inputs so collecting an earlier branch still works after another consumer is attached. Add client, worker, Scala result conversion, and real backend regression coverage, and document how to run the collection tests. Refs apache#869; follow-up to apache#870.
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.
This PR follows up on #870 and implements the DataQuanta.collect() part of #869. It lets PyWayang users execute a pipeline and get the results directly as a Python list without writing to a text file. It preserves supported value types and nested structures, handles empty results, and reports backend errors while keeping existing text-file sinks and REST responses compatible. It also fixes collecting an earlier pipeline branch after another branch or sink is attached.
Four existing ML/DL tests remain skipped.