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

[jira] [Updated] (SPARK-45561) Convert TINYINT catalyst properly in MySQL and MsSQLServer JDBCv2 connector

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

Michael Zhang updated SPARK-45561:
----------------------------------
    Description: MySQL dialect currently incorrectly converts catalyst types `TINYINT` to BYTE. However, both MySQL and MsSqlServer don't have a byte type.  (was: MySQL dialect currently incorrectly converts catalyst types `SMALLINT` and `TINYINT` to BYTE and INTEGER in mySql. However, MySQL doesn't have a byte type and it also supports SMALLINT and TINYINT as types.)
        Summary: Convert TINYINT catalyst properly in MySQL and MsSQLServer JDBCv2 connector  (was: Convert TINYINT and SMALLINT catalyst properly in MySQL JDBCv2 connector)

> Convert TINYINT catalyst properly in MySQL and MsSQLServer JDBCv2 connector
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-45561
>                 URL: https://issues.apache.org/jira/browse/SPARK-45561
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 3.5.0
>            Reporter: Michael Zhang
>            Priority: Minor
>              Labels: pull-request-available
>
> MySQL dialect currently incorrectly converts catalyst types `TINYINT` to BYTE. However, both MySQL and MsSqlServer don't have a byte type.



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