[ https://issues.apache.org/jira/browse/SPARK-36801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Senthil Kumar updated SPARK-36801: ---------------------------------- Description: Reading using Spark SQL jdbc DataSource does not maintain nullable type and changes "non nullable" columns to "nullable". So we need to add a note, in Documentation[1], "All columns are automatically converted to be nullable for compatibility reasons." [1 ]https://spark.apache.org/docs/latest/sql-data-sources-jdbc.html#jdbc-to-other-databases was: Reading using Spark SQL jdbc DataSource does not maintain nullable type and changes "non nullable" columns to "nullable". So we need to add a note, in Documentation[1], "{color:#a9b7c6}All columns are automatically converted to be nullable for compatibility reasons.{color}" [1 ]https://spark.apache.org/docs/latest/sql-data-sources-jdbc.html#jdbc-to-other-databases > Document change for Spark sql jdbc > ---------------------------------- > > Key: SPARK-36801 > URL: https://issues.apache.org/jira/browse/SPARK-36801 > Project: Spark > Issue Type: Documentation > Components: Documentation > Affects Versions: 3.0.0, 3.0.2, 3.0.3, 3.1.0, 3.1.1, 3.1.2 > Reporter: Senthil Kumar > Priority: Trivial > > Reading using Spark SQL jdbc DataSource does not maintain nullable type and > changes "non nullable" columns to "nullable". > So we need to add a note, in Documentation[1], "All columns are automatically > converted to be nullable for compatibility reasons." > > [1 > ]https://spark.apache.org/docs/latest/sql-data-sources-jdbc.html#jdbc-to-other-databases -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org