[ https://issues.apache.org/jira/browse/SPARK-11300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983631#comment-14983631 ]
Suresh Thalamati commented on SPARK-11300: ------------------------------------------ Another related issue is Spark-10849, Fix will allow users to override data type for any field. > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org