About 50 results
Open links in new tab
  1. scala - What is RDD in spark - Stack Overflow

    Dec 23, 2015 · An RDD is, essentially, the Spark representation of a set of data, spread across multiple machines, with APIs to let you act on it. An RDD could come from any datasource, e.g. text files, a …

  2. Difference between DataFrame, Dataset, and RDD in Spark

    I'm just wondering what is the difference between an RDD and DataFrame (Spark 2.0.0 DataFrame is a mere type alias for Dataset[Row]) in Apache Spark? Can you convert one to the other?

  3. Difference and use-cases of RDD and Pair RDD - Stack Overflow

    May 6, 2016 · I am new to spark and trying to understand the difference between normal RDD and a pair RDD. What are the use-cases where a pair RDD is used as opposed to a normal RDD? If …

  4. Spark: Best practice for retrieving big data from RDD to local machine

    Feb 11, 2014 · Update: RDD.toLocalIterator method that appeared after the original answer has been written is a more efficient way to do the job. It uses runJob to evaluate only a single partition on each …

  5. Difference between RDD.foreach () and RDD.map () - Stack Overflow

    Jan 19, 2018 · I am learning Spark in Python and wondering can anyone explain the difference between the action foreach() and transformation map()? rdd.map() returns a new RDD, like the original map …

  6. View RDD contents in Python Spark? - Stack Overflow

    Please note that when you run collect (), the RDD - which is a distributed data set is aggregated at the driver node and is essentially converted to a list. So obviously, it won't be a good idea to collect () a …

  7. java - What are the differences between Dataframe, Dataset, and RDD …

    Sep 27, 2021 · The APIs RDD It's the first API provided by spark. To put is simply it is a not-ordered sequence of scala/java objects distributed over a cluster. All operations executed on it are jvm …

  8. (Why) do we need to call cache or persist on a RDD

    Mar 11, 2015 · 193 When a resilient distributed dataset (RDD) is created from a text file or collection (or from another RDD), do we need to call "cache" or "persist" explicitly to store the RDD data into …

  9. Removing duplicates from rows based on specific columns in an …

    May 15, 2015 · Removing duplicates from rows based on specific columns in an RDD/Spark DataFrame Asked 10 years, 8 months ago Modified 2 years, 2 months ago Viewed 252k times

  10. What's the difference between RDD and Dataframe in Spark?

    Aug 20, 2019 · RDD stands for Resilient Distributed Datasets. It is Read-only partition collection of records. RDD is the fundamental data structure of Spark. It allows a programmer to perform in …