Description
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.
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
- is related to
-
SPARK-11300 Support for string length when writing to JDBC
- Resolved
- links to