You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2017/03/24 00:43:42 UTC

[jira] [Resolved] (SPARK-10101) Spark JDBC writer mapping String to TEXT or VARCHAR

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

Xiao Li resolved SPARK-10101.
-----------------------------
       Resolution: Duplicate
    Fix Version/s: 2.2.0

> Spark JDBC writer mapping String to TEXT or VARCHAR
> ---------------------------------------------------
>
>                 Key: SPARK-10101
>                 URL: https://issues.apache.org/jira/browse/SPARK-10101
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.4.1
>            Reporter: Rama Mullapudi
>             Fix For: 2.2.0
>
>
> Currently JDBC Writer maps String data type to TEXT on database but VARCHAR is ANSI SQL standard hence some of the old databases like Oracle, DB2, Teradata etc does not support TEXT as data type.
> Since VARCHAR needs max length to be specified and different databases support different max value, what will be the best way to implement.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org