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

Generate insert notification events when dynamic partition insert is done on existing partitions

    XMLWordPrintableJSON

Details

    Description

      HIVE-24738 introduced a bug which wont allow generation of insert events when dynamic partition insert is done on existing partitions.

      The newFiles list used is null because of the following condition - 
      https://github.com/apache/hive/blob/8077bb118cb418cae24a46f7155c481bf893da99/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L3159

      The newFiles is assigned to empty list only when new partitions are created and is not assigned when insert is done on existing partitions. This affects insert events generation for external tables.

      Attachments

        Issue Links

          Activity

            People

              sbadhya Sourabh Badhya
              sbadhya Sourabh Badhya
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h