Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.5.1
-
None
-
None
Description
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) ?
Attachments
Issue Links
- is duplicated by
-
SPARK-10849 Allow user to specify database column type for data frame fields when writing data to jdbc data sources.
- Resolved
- relates to
-
SPARK-10101 Spark JDBC writer mapping String to TEXT or VARCHAR
- Resolved