Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/19231#discussion_r138797882 --- Diff: docs/sql-programming-guide.md --- @@ -1333,7 +1333,7 @@ the following case-insensitive options: <tr> <td><code>customSchema</code></td> <td> - The custom schema to use for reading data from JDBC connectors. For example, "id DECIMAL(38, 0), name STRING"). The column names should be identical to the corresponding column names of JDBC table. Users can specify the corresponding data types of Spark SQL instead of using the defaults. This option applies only to reading. + The custom schema to use for reading data from JDBC connectors. For example, <code>"id DECIMAL(38, 0), name STRING"</code>. You can also specify partial fields, others use default values. For example, <code>"id DECIMAL(38, 0)"</code>. The column names should be identical to the corresponding column names of JDBC table. Users can specify the corresponding data types of Spark SQL instead of using the defaults. This option applies only to reading. --- End diff -- `others` -> `and the others use the default type mapping`
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org