Hive
  1. Hive
  2. HIVE-4505

Hive can't load transforms added using 'ADD FILE'

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.11.0
    • Component/s: Query Processor
    • Labels:
      None

      Description

      ADD FILE mangles name of the resource when copying to resource download directory. As a results following doesn't work:

      ADD FILE test.py;
      SELECT TRANSFORM (id) USING 'python test.py' AS b FROM tab1;
      

      The resource gets added with a different name every time which makes it impossible to use transform in non-interactive mode.

      This seems to be due to HIVE-3431

      1. HIVE-4505-3.patch
        16 kB
        Prasad Mujumdar
      2. HIVE-4505-1.patch
        6 kB
        Prasad Mujumdar
      3. HIVE-4505.2.patch
        15 kB
        Gunther Hagleitner

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Prasad Mujumdar
              Reporter:
              Prasad Mujumdar
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development