You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/10/21 22:41:34 UTC

[jira] [Commented] (PHOENIX-897) psql command doesn't allow using certain characters in invocation

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

James Taylor commented on PHOENIX-897:
--------------------------------------

Was this fixed, [~gabriel.reid] & [~jeffreyz]?

> 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
>         Attachments: 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)