spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-10101) Spark JDBC writer mapping String to TEXT or VARCHAR
Date Sat, 22 Aug 2015 18:22:46 GMT

    [ https://issues.apache.org/jira/browse/SPARK-10101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708122#comment-14708122
] 

Apache Spark commented on SPARK-10101:
--------------------------------------

User 'rama-mullapudi' has created a pull request for this issue:
https://github.com/apache/spark/pull/8374

> 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
>
> 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.4#6332)

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


Mime
View raw message