Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-27902

Rewrite Update with empty Where clause to IOW

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.0-beta-1
    • None
    • None

    Description

      rewrite

      update table mytbl set a = a+5 
      

      with

      insert overwrite table mytbl as select a+5 from mytbl
      

      note: in case of Iceberg tables it should take care of partition evolution and overwrite all

      Attachments

        Activity

          People

            Unassigned Unassigned
            dkuzmenko Denys Kuzmenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: