[
https://issues.apache.org/jira/browse/HIVE-4505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655291#comment-13655291
]
Owen O'Malley commented on HIVE-4505:
-------------------------------------
Thanks, Prasad.
How can you explain how to run into conflict with username+process+host+date?
It seems that would be a unique id (except in the Hive Server 2 case where
username, process, and host are identical).
This bug only happens in the case where the add file resource is on a non-local
filesystem. By far the majority of users seem to use a local file system, so I
think we can push fixing it to 0.11.1. *grin*
> Hive can't load transforms added using 'ADD FILE'
> -------------------------------------------------
>
> Key: HIVE-4505
> URL: https://issues.apache.org/jira/browse/HIVE-4505
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.11.0
> Reporter: Prasad Mujumdar
> Assignee: Prasad Mujumdar
> Priority: Blocker
> Fix For: 0.11.0
>
> Attachments: HIVE-4505-1.patch, HIVE-4505.2.patch, HIVE-4505-3.patch
>
>
> ADD FILE mangles name of the resource when copying to resource download
> directory. As a results following doesn't work:
> {code:sql}
> ADD FILE test.py;
> SELECT TRANSFORM (id) USING 'python test.py' AS b FROM tab1;
> {code}
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira