Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10924 add support for MERGE statement
  3. HIVE-15970

Fix merge to work in presence of AST rewrites

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: Transactions
    • Labels:
      None
    • Target Version/s:

      Description

      The issue is that Context.getDestNamePrefix() caches ASTNode objects to figure out if a given insert branch of multi-insert is insert, update or delete but objects change when the tree is modified. For example, row-filtering/column-masking does this, but also other optimizations/features.

        Attachments

        1. HIVE-15970.01.patch
          11 kB
          Eugene Koifman
        2. HIVE-15970.02.patch
          12 kB
          Eugene Koifman

          Issue Links

            Activity

              People

              • Assignee:
                ekoifman Eugene Koifman
                Reporter:
                ekoifman Eugene Koifman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: