Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/18562#discussion_r126264346
--- Diff: docs/structured-streaming-programming-guide.md ---
@@ -547,6 +549,19 @@ Here are the details of all the sources in Spark.
<td></td>
</tr>
<tr>
+ <td><b>Rate Source</b></td>
+ <td>
+ <code>rowsPerSecond</code> (e.g. 100, default: 1): How many rows
should be generated per second.<br/><br/>
+ <code>rampUpTime</code> (e.g. 5s, default: 0s): How long to ramp
up before the generating speed becomes <code>rowsPerSecond</code>. Using finer
granularities than seconds will be truncated to integer seconds. <br/><br/>
+ <code>numPartitions</code> (e.g. 10, default: Spark's default
parallelism): The partition number for the generated rows. <br/><br/>
+
+ The source will try its best to reach <code>rowsPerSecond</code>,
but the query may be resource constrained, and <code>numPartitions</code> can
be tweaked to help reach the desired speed.
+ </td>
+ <td>No</td>
--- End diff --
"No" -> "Yes".
---
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]