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

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment