Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/18555#discussion_r126315850
--- Diff:
core/src/main/scala/org/apache/spark/internal/config/package.scala ---
@@ -251,6 +335,7 @@ package object config {
private[spark] val FILES_MAX_PARTITION_BYTES =
ConfigBuilder("spark.files.maxPartitionBytes")
.doc("The maximum number of bytes to pack into a single partition when
reading files.")
.longConf
+ .checkValue(_ > 0, "The maximum number of bytes event queue must not
be negative")
--- End diff --
Since `_ > 0`, we should avoid 0, too.
`must not be negative` => `must be positive`.
---
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]