You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/04/25 16:05:00 UTC

[jira] [Updated] (SPARK-47994) SQLServer does not support 1 and 0 as boolean values

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

ASF GitHub Bot updated SPARK-47994:
-----------------------------------
    Labels: pull-request-available  (was: )

> SQLServer does not support 1 and 0 as boolean values
> ----------------------------------------------------
>
>                 Key: SPARK-47994
>                 URL: https://issues.apache.org/jira/browse/SPARK-47994
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.4.3
>            Reporter: Stefan Bukorovic
>            Priority: Major
>              Labels: pull-request-available
>
> Sometimes in Spark, when a column that is generated as CASE WHEN structure is used in comparison filter, output of optimized plan will be: CASE WHEN expression THEN (1 or 0)... which is not supported in SQLServer. Exception is thrown by SQLServer that a "non-boolean expression is given when boolean was expected". For now, we should not support CASE WHEN pushdown in SQLServer. 



--
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