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

Dongjoon Hyun resolved SPARK-44866.
-----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 42545
[https://github.com/apache/spark/pull/42545]

> Spark wrongly map the BOOLEAN Type to BIT(1) in Snowflake
> ---------------------------------------------------------
>
>                 Key: SPARK-44866
>                 URL: https://issues.apache.org/jira/browse/SPARK-44866
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.4.1
>            Reporter: Hayssam Saleh
>            Assignee: Hayssam Saleh
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> In Snowflake the Boolean type is represented by the Boolean data type 
> ([https://docs.snowflake.com/en/sql-reference/data-types-logical]), but Spark 
> rely on the default JdbcDialect to generate the mapping which maps _Boolean_ 
> to _BIT(1)_
> This should be probably handled by a dialect specific to Snowflake.



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