You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hari Sankar Sivarama Subramaniyan (JIRA)" <ji...@apache.org> on 2014/10/29 22:31:34 UTC
[jira] [Commented] (HIVE-8005) Webhcat hive job fails for like
query containing %%
[ https://issues.apache.org/jira/browse/HIVE-8005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14189036#comment-14189036 ]
Hari Sankar Sivarama Subramaniyan commented on HIVE-8005:
---------------------------------------------------------
This can be closed since URL encoding as per the standards in https://wiki.eclipse.org/Jetty/Howto/International_Characters seems to resolve this issue.
> Webhcat hive job fails for like query containing %%
> ---------------------------------------------------
>
> Key: HIVE-8005
> URL: https://issues.apache.org/jira/browse/HIVE-8005
> Project: Hive
> Issue Type: Bug
> Reporter: Hari Sankar Sivarama Subramaniyan
> Assignee: Hari Sankar Sivarama Subramaniyan
>
> Unicode character is part of an execute parameter.
> Example command:
> curl -i -u <username>:<password>
> -d user.name=<username>
> -d statusdir="/hss/HiveLikeOutput"
> -d execute="SELECT * FROM table1 WHERE content LIKE '%%E7%8B%9D%';"
> -s http://localhost:30111/templeton/v1/hive
> The ‘%’ symbol causes an issue. Templeton throws Error 500 !hex:5c
> I have tried to escape the '%' character using '<backslash>%'. That doesn't work as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)