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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.11.0
    • 0.11.0
    • Query Processor
    • 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 Suresh Mujumdar
        2. HIVE-4505.2.patch
          15 kB
          Gunther Hagleitner
        3. HIVE-4505-1.patch
          6 kB
          Prasad Suresh Mujumdar

        Issue Links

          Activity

            People

              prasadm Prasad Suresh Mujumdar
              prasadm Prasad Suresh Mujumdar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: