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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.3.0
    • None
    • SQL

    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

        1. scan_table_many_times.png
          689 kB
          ice bai

        Activity

          People

            Unassigned Unassigned
            a283791411 ice bai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: