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

Firing insert event fails on temporary table

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      When hive.metastore.dml.events=true and MoveTask attempts to fire an insert event on insert to a temporary table this fails, because the db event listener cannot find the temporary table. This is because temporary tables are only stored in the client, not in the server, thus the metastore listener will never be able to find it.

      The proper fix is to not fire events for temporary tables, as they have not duration beyond the current client session.

        Attachments

        1. HIVE-9826.patch
          3 kB
          Alan Gates

          Activity

            People

            • Assignee:
              gates Alan Gates
              Reporter:
              gates Alan Gates
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: