Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MapPartitionsRDD (0.07 sec)

  1. docs/bigdata/README.md

    ```
    scala> val file = sc.textFile("s3a://testbucket/testdata")
    file: org.apache.spark.rdd.RDD[String] = s3a://testbucket/testdata MapPartitionsRDD[1] at textFile at <console>:24
    
    scala> val counts = file.flatMap(line => line.split(" ")).map(word => (word, 1)).reduceByKey(_ + _)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
Back to top