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

spark-sql will scan the same table repeatedly when doing multi-insert

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:

      Description

      Such as the query likes "From xx SELECT yy INSERT INTO a INSERT INTO b INSERT INTO c ..." .

      Following screenshot shows the stages:

      But, Hive only scan once.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              a283791411 ice bai

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment