Skip to content

Robin plan path: CaseWhen in select (serialize and convert when/then/otherwise) (#472)#482

Merged
eddiethedean merged 1 commit intov4.0.0from
fix/472-casewhen-plan-path
Feb 12, 2026
Merged

Robin plan path: CaseWhen in select (serialize and convert when/then/otherwise) (#472)#482
eddiethedean merged 1 commit intov4.0.0from
fix/472-casewhen-plan-path

Conversation

@eddiethedean
Copy link
Owner

Fixes #472.

  • logical_plan.py: serialize CaseWhen as type case_when with conditions and default.
  • robin_plan.py: convert case_when to Robin op "when" with branches and default.
  • plan_executor.py: build F.when(cond).then(val).when(...).otherwise(default) from when op.
  • Fixed inner try/except indentation in logical_plan Window block.
  • Added test_case_when_in_select_robin.

Made with Cursor

…otherwise) (#472)

- logical_plan: serialize CaseWhen as type case_when with conditions and default.
- robin_plan: convert case_when to Robin op when with branches and default.
- plan_executor: build F.when().then().when().then().otherwise() from when op.
- Fix inner try/except indentation in logical_plan Window block.
- Add test_case_when_in_select_robin.

Co-authored-by: Cursor <cursoragent@cursor.com>
@eddiethedean eddiethedean merged commit f106ca1 into v4.0.0 Feb 12, 2026
5 of 6 checks passed
@eddiethedean eddiethedean deleted the fix/472-casewhen-plan-path branch February 12, 2026 15:48
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.

1 participant