You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Data] Project fusion drops upstream-only scheduling_strategy and label_selector #68780
bugSomething that is supposed to be working; but isn'tcommunity-backlogdataRay Data-related issuesstabilitytriageNeeds triage (eg: priority, bug/not-bug, and owning component)
When two consecutive Project operators (from with_column, with_columns, or select_columns) are fused by ProjectionPushdown, a scheduling_strategy or label_selector set only on the upstream operator is silently dropped.
_try_fuse in python/ray/data/_internal/logical/rules/projection_pushdown.py first checks are_op_remote_args_compatible(upstream_project, downstream_project). That check allows the upstream op to carry the inheritable keys in INHERITABLE_REMOTE_ARGS (scheduling_strategy, label_selector) when the downstream op omits them. But the fused Project is then built with ray_remote_args=downstream_project.ray_remote_args, so those upstream-only keys are lost.
Expected: the fused Project keeps the upstream op's inheritable remote args. Physical operator fusion already does this (ray_remote_args = up_logical_op.ray_remote_args in operator_fusion.py), and so does the logical Filter fusion added in #68625.
Found while reviewing #68625. The author confirmed it on current master in #68625.
Hey, nice catch — the repro makes it pretty clear, and the Filter fusion precedent in #68625 points at the fix (carry the upstream inheritable remote args into the fused Project). I was thinking of picking this up. Do you already have a fix locally or were you planning to open a PR yourself? Don't want to duplicate work if you're already on it.
yeah thank you for checking in you can go ahead and pick it up @PCTEJA I have no work towards it currently just wanted to open it up but I'd be happy to be another set of eyes in your PR afterwards if you'd like
bugSomething that is supposed to be working; but isn'tcommunity-backlogdataRay Data-related issuesstabilitytriageNeeds triage (eg: priority, bug/not-bug, and owning component)
Activity
PCTEJA commentedon Dec 3, 2026
Hey, nice catch — the repro makes it pretty clear, and the Filter fusion precedent in #68625 points at the fix (carry the upstream inheritable remote args into the fused Project). I was thinking of picking this up. Do you already have a fix locally or were you planning to open a PR yourself? Don't want to duplicate work if you're already on it.
raramos9 commentedon Dec 3, 2026
yeah thank you for checking in you can go ahead and pick it up @PCTEJA I have no work towards it currently just wanted to open it up but I'd be happy to be another set of eyes in your PR afterwards if you'd like
PCTEJA commentedon Dec 3, 2026
thanks @raramos9 picking it up
[Data] Keep upstream inheritable remote args when fusing Projects