hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sankar Sivarama Subramaniyan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-8005) Webhcat hive job fails for like query containing %%
Date Wed, 29 Oct 2014 21:31:34 GMT

    [ 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)

Mime
View raw message