Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce IF operator #3090

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open

Introduce IF operator #3090

wants to merge 31 commits into from

Conversation

aglinxinyuan
Copy link
Collaborator

@aglinxinyuan aglinxinyuan commented Nov 20, 2024

The IF operator evaluates a condition against a specified state variable and routes the input data to either the True or False branch accordingly. The condition port accepts a state variable, and users can define the name of the state variable to be evaluated by the IF operator.
Note: The Date to State operator will be introduced in a separate PR.

image

@aglinxinyuan aglinxinyuan self-assigned this Nov 20, 2024
Copy link
Collaborator

@Yicong-Huang Yicong-Huang left a comment

Choose a reason for hiding this comment

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

Left some comments. In general:

  1. don't use statement. there is no statement in workflows/operators. note for the terminology. we are borrowing the "if statement" concept from PL, but don't use the name in our context.
  2. note for the naming conversions.
  3. pleases add more documentations.

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