You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hari Sekhon (JIRA)" <ji...@apache.org> on 2015/04/17 16:19:58 UTC

[jira] [Commented] (HIVE-633) ADD FILE command does not accept quoted filenames

    [ https://issues.apache.org/jira/browse/HIVE-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14499883#comment-14499883 ] 

Hari Sekhon commented on HIVE-633:
----------------------------------

This has been bugging me for such a long time with add jar 'blah.jar', add file "blah.py", source "file.sql" etc.

Seems like it would be a minor improvement to have the parser to do a string.replaceAll() or similar method to replace single and double quotes in these file tokens?

> ADD FILE command does not accept quoted filenames
> -------------------------------------------------
>
>                 Key: HIVE-633
>                 URL: https://issues.apache.org/jira/browse/HIVE-633
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>         Environment: Ubuntu Linux (intrepid)
>            Reporter: Saurabh Nanda
>            Priority: Minor
>
> The following command says file does not exist. Removing the quotes around the filename makes it work.
> hive> add files '/tmp/testing.jar'; 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)