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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

        Attachments

        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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: