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

Hudson commented on PHOENIX-897:
--------------------------------

SUCCESS: Integrated in Phoenix | 3.0 | Hadoop1 #289 (See 
[https://builds.apache.org/job/Phoenix-3.0-hadoop1/289/])
PHOENIX-897 Quote parameters in psql.py (gabrielr: rev 
f4687599173427d2b7e71b076aa1e763a062281b)
* bin/psql.py


> psql command doesn't allow using certain characters in invocation
> -----------------------------------------------------------------
>
>                 Key: PHOENIX-897
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-897
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Gabriel Reid
>            Assignee: Gabriel Reid
>             Fix For: 5.0.0, 4.2, 3.2
>
>         Attachments: PHOENIX-897-1.patch, PHOENIX-897.patch
>
>
> The Python psql command converts the provided command-line parameters into a 
> string, and then allows the shell to interpret the created string. If 
> characters that have a special meaning are supplied as a parameter (e.g. 
> pipe, semicolon), they are not properly quoted before being passed on to the 
> shell, causing the tool to crash with an error from the underlying shell.
> It's should be possible to provide any character (particularly common CSV 
> separator characters like pipe and semicolon) as commandline parameters, so 
> the provided parameters should be properly quoted before passing them to the 
> underlying shell.



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

Reply via email to