You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jiaan Geng (Jira)" <ji...@apache.org> on 2025/03/03 03:21:00 UTC
[jira] [Updated] (SPARK-51366) Add a new visitCaseWhen method to V2ExpressionSQLBuilder
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org