Github user zsxwing commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6234#discussion_r30534442
  
    --- Diff: docs/programming-guide.md ---
    @@ -821,9 +820,7 @@ by a key.
     
     In Scala, these operations are automatically available on RDDs containing
     
[Tuple2](http://www.scala-lang.org/api/{{site.SCALA_VERSION}}/index.html#scala.Tuple2)
 objects
    -(the built-in tuples in the language, created by simply writing `(a, b)`), 
as long as you
    -import `org.apache.spark.SparkContext._` in your program to enable Spark's 
implicit
    -conversions. The key-value pair operations are available in the
    +(the built-in tuples in the language, created by simply writing `(a, b)`). 
The key-value pair operations are available in the
     
[PairRDDFunctions](api/scala/index.html#org.apache.spark.rdd.PairRDDFunctions) 
class,
     which automatically wraps around an RDD of tuples if you import the 
conversions.
    --- End diff --
    
    `if you import the conversions` can be removed.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to