Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-198

Spark runner batch translator to work with Datasets instead of RDDs

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Not applicable
    • Component/s: runner-spark
    • Labels:
      None

      Description

      Currently, the Spark runner translates batch pipelines into RDD code, meaning it doesn't benefit from the optimizations DataFrames (which isn't type-safe) enjoys.

      With Datasets, batch pipelines will benefit the optimizations, adding to that that Datasets are type-safe and encoder-based they seem like a much better fit for the Beam model.

      Looking ahead, Datasets is a good choice since it's the basis for the future of Spark streaming as well (Structured Streaming) so this will hopefully lay a solid foundation for a native integration between Spark 2.0 and Beam.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                amitsela Amit Sela
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: