Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14841 Replication - Phase 2
  3. HIVE-17212

Dynamic add partition by insert shouldn't generate INSERT event.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 3.0.0
    • HiveServer2, repl
    • Reviewed

    Description

      A partition is dynamically added if INSERT INTO is invoked on a non-existing partition.
      Generally, insert operation generated INSERT event to notify the operation with new data files.
      In this case, Hive should generate only ADD_PARTITION events with the new files added. It shouldn't create INSERT event.
      Need to test and verify this behaviour.

      Attachments

        1. HIVE-17212.01.patch
          3 kB
          Sankar Hariappan

        Activity

          People

            sankarh Sankar Hariappan
            sankarh Sankar Hariappan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: