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

RELOAD FUNCTION should update dropped functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.2.0
    • None
    • None

    Description

      Due to HIVE-2573, functions are stored in a per-session registry and only loaded in from the metastore when hs2 or hive cli is started. Running RELOAD FUNCTION in the current session is a way to force a reload of the functions, so that changes that occurred in other running sessions will be reflected in the current session, without having to restart the current session. However, while functions that are created in other sessions will now appear in the current session, functions that have been dropped are not removed from the current session's registry. It seems inconsistent that created functions are updated while dropped functions are not.

      Attachments

        1. HIVE-14074.01.patch
          0.9 kB
          Abdullah Yousufi
        2. HIVE-14074.02.patch
          2 kB
          Abdullah Yousufi
        3. HIVE-14074.03.patch
          2 kB
          Abdullah Yousufi

        Activity

          People

            ayousufi Abdullah Yousufi
            ayousufi Abdullah Yousufi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: