Skip to content

Implementing IfThen Expression Type To and From Substrait text#52

Open
gord02 wants to merge 6 commits intomainfrom
gordon.hamilton/implement-ifThen
Open

Implementing IfThen Expression Type To and From Substrait text#52
gord02 wants to merge 6 commits intomainfrom
gordon.hamilton/implement-ifThen

Conversation

@gord02
Copy link
Collaborator

@gord02 gord02 commented Feb 3, 2026

Description

This PR implements the ifThen Expression Type To and From Substrait text.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Example update
  • Other (please describe)

Testing

  • Added test in in both expressions.rs files. And ran locally to confirm working parsing.
  • Will add proper roundtrip test in later PRs

@gord02 gord02 requested review from a team and wackywendell as code owners February 3, 2026 15:46
Copy link
Collaborator

@wackywendell wackywendell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, good code change!

I have one moderate suggestion, see attached, and two significant ones:

  1. Let's update GRAMMAR.md to note the addition of this to the grammar.
  2. Let's also add or extend a roundtrip test to include an IfThen example. In general, testing should not come in separate PRs, but should come in the same PR as the implementation.

@gord02 gord02 force-pushed the gordon.hamilton/implement-ifThen branch from 5edd02d to a3de7b5 Compare February 11, 2026 21:30
Copy link
Collaborator

@wackywendell wackywendell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One very small change, then we're good to go!

@gord02 gord02 requested a review from wackywendell February 18, 2026 23:50
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.

2 participants

Comments