spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srowen <>
Subject [GitHub] spark pull request #18645: [SPARK-14280][BUILD][WIP] Update change-version.s...
Date Sat, 22 Jul 2017 08:06:08 GMT
Github user srowen commented on a diff in the pull request:
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/DatasetSuite.scala ---
    @@ -353,7 +353,7 @@ class DatasetSuite extends QueryTest with SharedSQLContext {
       test("foreachPartition") {
         val ds = Seq(("a", 1), ("b", 2), ("c", 3)).toDS()
         val acc = sparkContext.longAccumulator
    -    ds.foreachPartition(_.foreach(v => acc.add(v._2)))
    +    ds.foreachPartition((it: Iterator[(String, Int)]) => it.foreach(v => acc.add(v._2)))
    --- End diff --
    Actually, no not the same issue as but
similar. Let me ask the question there about how much source compatibility matters across
Scala versions, _for Java_.
    I'm not in any event proposing to enable a 2.12 build anytime soon, just see if we can
get it closer without any implications for 2.11

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message