Skip to content

Task estimator interface modification: Allow user to map tasks to URLs, and return errors#409

Draft
JSOD11 wants to merge 1 commit intodatafusion-contrib:mainfrom
JSOD11:jsod/routing-04-17-26
Draft

Task estimator interface modification: Allow user to map tasks to URLs, and return errors#409
JSOD11 wants to merge 1 commit intodatafusion-contrib:mainfrom
JSOD11:jsod/routing-04-17-26

Conversation

@JSOD11
Copy link
Copy Markdown
Collaborator

@JSOD11 JSOD11 commented Apr 17, 2026

This PR addresses #378, and since we will need to modify the task estimator interface I saw this as a good opportunity to also resolve #331.

We modify the task estimator interface here by changing scale_up_leaf_node to plan_leaf_node, where plan_leaf_node now returns a PlannedLeafNode struct that optionally contains a list of URLs that can be used to assign tasks to specific worker nodes.

The interface allows for flexible routing of tasks to workers for e.g. consistent routing / cache locality.

@JSOD11 JSOD11 force-pushed the jsod/routing-04-17-26 branch from fee16b7 to d12899f Compare April 17, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow task estimator to return errors

1 participant