You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Sivashankar (JIRA)" <ji...@apache.org> on 2016/04/28 22:36:12 UTC

[jira] [Assigned] (PIG-2949) JsonLoader only reads arrays of objects

     [ https://issues.apache.org/jira/browse/PIG-2949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sivashankar reassigned PIG-2949:
--------------------------------

    Assignee: Sivashankar  (was: Eyal Allweil)

> JsonLoader only reads arrays of objects 
> ----------------------------------------
>
>                 Key: PIG-2949
>                 URL: https://issues.apache.org/jira/browse/PIG-2949
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>         Environment: os x mountain lion
>            Reporter: David LaBarbera
>            Assignee: Sivashankar
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: JsonLoader.java, PIG-2949.patch
>
>
> I'm trying to load a vendor file that's json ecoded into pig. One of the fields is an array of strings. The builtin JsonLoader only reads arrays composed of json objects
> {"object_array}:[{"element":"value1"},{"element":"value2"}]} works
> but
> {"string_array"}:["value1","value2"] does not



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