You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maciej Bryński (JIRA)" <ji...@apache.org> on 2015/10/26 16:58:27 UTC
[jira] [Comment Edited] (SPARK-11300) Support for string length
when writing to JDBC
[ https://issues.apache.org/jira/browse/SPARK-11300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14974443#comment-14974443 ]
Maciej Bryński edited comment on SPARK-11300 at 10/26/15 3:58 PM:
------------------------------------------------------------------
Not really. SPARK-10101 is about situation where there is no TEXT type in DBMS.
I'm talking about situation where I want to specify independently size of every string column in DataFrame.
was (Author: maver1ck):
Not really. SPARK-10101 is about situation where there is no TEXT type in DBMS.
I'm talking about situation where I want to specify independently size of every string column in DataFrame.
Something similar to Decimal.
> Support for string length when writing to JDBC
> ----------------------------------------------
>
> Key: SPARK-11300
> URL: https://issues.apache.org/jira/browse/SPARK-11300
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Affects Versions: 1.5.1
> Reporter: Maciej Bryński
>
> Right now every StringType fields are written to JDBC as TEXT.
> I'd like to have option to write it as VARCHAR(size).
> Maybe we could use StringType(size) ?
--
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