You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Senthil Kumar (Jira)" <ji...@apache.org> on 2021/09/19 18:22:00 UTC

[jira] [Updated] (SPARK-36801) Document change for Spark sql jdbc

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org