DanielLeens commented on issue #13185:
URL: https://github.com/apache/seatunnel/issues/13185#issuecomment-6739658526

   Thanks for the focused request. A small SQL-transform PR is welcome. Please 
implement `IF(condition, trueValue, falseValue)` as a three-argument SQL 
function at the same registration/type-coercion layer as the existing 
`MULTI_IF`, rather than rewriting SQL text or adding a configuration switch.
   
   The contract needs regression coverage for true, false and null conditions; 
null values in either branch; incompatible and coercible branch types; nested 
use; and confirmation that existing `MULTI_IF`, `CASE WHEN`, and `IFNULL` 
behavior is unchanged. The null-condition result should follow the documented 
false branch semantics without evaluating or coercing branches differently from 
the existing SQL runtime. Please also document the new supported function in 
both English and Chinese and keep the contribution limited to this 
alias/semantics change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to