[
https://issues.apache.org/jira/browse/PHOENIX-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriel Reid updated PHOENIX-897:
---------------------------------
Attachment: PHOENIX-897-1.patch
Attaching rebased patch for completeness.
> 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)