Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-39748

Include the origin logical plan for LogicalRDD if it comes from DataFrame

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • SQL, Structured Streaming
    • None

    Description

      When Spark converts the DataFrame to LogicalRDD for some reason (e.g. foreachBatch sink), Spark just picks the RDD from the origin DataFrame and discards the (logical/physical) plan.

      The origin logical plan can be useful for several use cases, including:

      1. wants to connect the overall logical plan into one
      2. inherits plan stats from origin logical plan

      Attachments

        Activity

          People

            kabhwan Jungtaek Lim
            kabhwan Jungtaek Lim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: