[
https://issues.apache.org/jira/browse/SPARK-44866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun updated SPARK-44866:
----------------------------------
Parent: SPARK-47361
Issue Type: Sub-task (was: Bug)
> 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: Sub-task
> 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: [email protected]
For additional commands, e-mail: [email protected]