Skip to content

[Data] Fix planner tests to handle tuple return from planner.plan() - #62053

Merged
bveeramani merged 1 commit into
masterfrom
bcheng/fix-planner-tests-tuple-unpack
Mar 25, 2026
Merged

bveeramani merged 1 commit into
masterfrom
bcheng/fix-planner-tests-tuple-unpack

Conversation

@bveeramani

@bveeramani bveeramani commented Mar 25, 2026 •

Copy link
Copy Markdown
Member

Description

planner.plan() now returns a tuple (physical_plan, callbacks) after #61405. In this PR, I've updates the planner unit tests to unpack the tuple instead of indexing into the result.

I'm doing this to make the return type a bit more explicit and readable.

Related issues

Related to #61405

planner.plan() now returns a tuple (physical_plan, callbacks). Update
tests to unpack the tuple instead of indexing into the result.

Signed-off-by: Balaji Veeramani <[email protected]>
@bveeramani
bveeramani requested a review from a team as a code owner March 25, 2026 17:47
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@bveeramani
bveeramani enabled auto-merge (squash) March 25, 2026 17:54
@github-actions github-actions Bot added the go add ONLY when ready to merge, run all tests label Mar 25, 2026
@ray-gardener ray-gardener Bot added the data Ray Data-related issues label Mar 25, 2026
@bveeramani
bveeramani merged commit 21ca959 into master Mar 25, 2026
4 checks passed
@bveeramani
bveeramani deleted the bcheng/fix-planner-tests-tuple-unpack branch March 25, 2026 19:38
Lucas61000 pushed a commit to Lucas61000/ray that referenced this pull request May 15, 2026
…ay-project#62053)

## Description

`planner.plan()` now returns a tuple `(physical_plan, callbacks)` after
ray-project#61405. In this PR, I've updates the planner unit tests to unpack the
tuple instead of indexing into the result.

I'm doing this to make the return type a bit more explicit and readable.

## Related issues

Related to ray-project#61405

Signed-off-by: Balaji Veeramani <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data Ray Data-related issues go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants