You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2023/05/08 01:26:00 UTC

[jira] [Assigned] (SPARK-43362) Special handling of JSON type for MySQL connector

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

Hyukjin Kwon reassigned SPARK-43362:
------------------------------------

    Assignee: Tianhan Hu

> Special handling of JSON type for MySQL connector
> -------------------------------------------------
>
>                 Key: SPARK-43362
>                 URL: https://issues.apache.org/jira/browse/SPARK-43362
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Tianhan Hu
>            Assignee: Tianhan Hu
>            Priority: Minor
>
> MySQL JSON type is converted into JDBC {{VARCHAR}} type with precision of -1 on some MariaDB drivers.
> When receiving {{VARCHAR}} with negative precision, Spark will throw an error.
> This ticket purposes to special case this scenario by directly converting JSON type into StringType in MySQLDialect.



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