Skip to content

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

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

[Data] Fix planner tests to handle tuple return from planner.plan()#62053
bveeramani merged 1 commit intomasterfrom
bcheng/fix-planner-tests-tuple-unpack

Conversation

@bveeramani
Copy link
Copy Markdown
Member

@bveeramani bveeramani commented Mar 25, 2026

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 <bveeramani@berkeley.edu>
@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
7 of 8 checks passed
@bveeramani bveeramani deleted the bcheng/fix-planner-tests-tuple-unpack branch March 25, 2026 19:38
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