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

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • Transactions
    • None

    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.02.patch
          12 kB
          Eugene Koifman
        2. HIVE-15970.01.patch
          11 kB
          Eugene Koifman

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: