Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/15966#discussion_r89003713
--- Diff: docs/sql-programming-guide.md ---
@@ -1073,6 +1073,16 @@ the following case-sensitive options:
</tr>
<tr>
+ <td><code>numPartitions</code></td>
+ <td>
+ The number of partitions that can be used, if set. It works by
limiting both read and write
+ operations' parallelism. If the number of partitions to write
exceeds this limit, the
+ operation will coalesce the data set to fewer partitions before
writing. In other words,
--- End diff --
> The number of partitions that can be used, if set. It works by limiting
both read and write operations' parallelism. If the number of partitions to
write exceeds this limit, the operation will coalesce the data set **with this
value** before writing. In other words, this determines the maximum number of
concurrent JDBC connections.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]