Github user JoshRosen commented on a diff in the pull request:
https://github.com/apache/spark/pull/5125#discussion_r26996110
--- Diff: core/src/main/scala/org/apache/spark/rdd/JdbcRDD.scala ---
@@ -70,7 +71,8 @@ class JdbcRDD[T: ClassTag](
}).toArray
}
- override def compute(thePart: Partition, context: TaskContext) = new
NextIterator[T] {
+ override def compute(thePart: Partition, context: TaskContext):
Iterator[T] = new NextIterator[T]
+ {
--- End diff --
This brace on a line by itself looks a bit funny to me; maybe we could
split at the argument list instead?
---
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]