[ 
https://issues.apache.org/jira/browse/SPARK-51366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiaan Geng updated SPARK-51366:
-------------------------------
    Description: MsSqlServer cannot handle boolean expressions inside a CASE 
WHEN, it is necessary to convert those to another CASE WHEN expression that 
will return 1 or 0 depending on the result.

> Add a new visitCaseWhen method to V2ExpressionSQLBuilder
> --------------------------------------------------------
>
>                 Key: SPARK-51366
>                 URL: https://issues.apache.org/jira/browse/SPARK-51366
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Jiaan Geng
>            Assignee: Jiaan Geng
>            Priority: Major
>
> MsSqlServer cannot handle boolean expressions inside a CASE WHEN, it is 
> necessary to convert those to another CASE WHEN expression that will return 1 
> or 0 depending on the result.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to