hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-9567) JSON SerDe not escaping special chars when writing char/varchar data
Date Wed, 04 Feb 2015 18:57:35 GMT

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

Jason Dere commented on HIVE-9567:
----------------------------------

test failures do not look related to this patch

> JSON SerDe not escaping special chars when writing char/varchar data
> --------------------------------------------------------------------
>
>                 Key: HIVE-9567
>                 URL: https://issues.apache.org/jira/browse/HIVE-9567
>             Project: Hive
>          Issue Type: Bug
>          Components: Serializers/Deserializers
>    Affects Versions: 0.13.0, 0.14.0
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-9567.1.patch
>
>
> When writing string data to fields designated as char/varchar fields, JsonSerDe does
not escape special characters, which can invalidate the JSON.
> Looks like string columns use SerDeUtils.escapeString() when building the JSON string.
Char/varchar need to do the same.



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

Mime
View raw message