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

Zerui Bao updated SPARK-45425:
------------------------------
    Description: 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 ByteType.  (was: 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.)

> Mapped TINYINT to ByteType 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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 ByteType.



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