You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2023/10/06 21:54:00 UTC

[jira] [Resolved] (SPARK-45425) Mapped TINYINT to ShortType for MsSqlServerDialect

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

Gengliang Wang resolved SPARK-45425.
------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

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

> Mapped TINYINT to ShortType for MsSqlServerDialect
> --------------------------------------------------
>
>                 Key: SPARK-45425
>                 URL: https://issues.apache.org/jira/browse/SPARK-45425
>             Project: Spark
>          Issue Type: Task
>          Components: SQL
>    Affects Versions: 3.5.0
>            Reporter: Zerui Bao
>            Assignee: Zerui Bao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> TINYINT of SQL server is not correctly mapped to spark types when using JDBC connector. For now, it is mapped to the IntegerType, which is not accurate. It should be mapped to ShortType.



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