-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Feature][transform-v2] sql transform support multi_if function #9154
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Files not reviewed (1)
- seatunnel-e2e/seatunnel-transforms-v2-e2e/seatunnel-transforms-v2-e2e-part-2/src/test/resources/sql_transform/func_multi_if.conf: Language not supported
| ### MULTI_IF | ||
| ```MULTI_IF(condition1, value1, condition2, value2, ... conditionN, valueN, bValue)``` | ||
|
|
||
| returns the first value for which the corresponding condition is true. If all conditions are false, it returns the last value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update doc follow https://clickhouse.com/docs/sql-reference/functions/conditional-functions#multiif
...2-e2e/seatunnel-transforms-v2-e2e-part-2/src/test/resources/sql_transform/func_multi_if.conf
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Files not reviewed (1)
- seatunnel-e2e/seatunnel-transforms-v2-e2e/seatunnel-transforms-v2-e2e-part-2/src/test/resources/sql_transform/func_multi_if.conf: Language not supported
|
Hi @CosmosNi , why close this PR? I think this pr is useful. |
|
@Hisoka-X It seems to be the same as the case when function |
|
Please resolve the conflicts. |
…ltiIf # Conflicts: # seatunnel-transforms-v2/src/main/java/org/apache/seatunnel/transform/sql/zeta/ZetaSQLFunction.java
sql transform support multi_if function
close #9153
Purpose of this pull request
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
release-note.