Joao Salcedo created PIG-4221:
---------------------------------

             Summary: I should not specify the schema for JsonLoader 
                 Key: PIG-4221
                 URL: https://issues.apache.org/jira/browse/PIG-4221
             Project: Pig
          Issue Type: Improvement
    Affects Versions: 0.12.0
            Reporter: Joao Salcedo


I should be able to import JSON data without specify the schema

raw = LOAD 'testjson' USING JsonLoader() as (json:map[]); 

and call every fields as :

data = foreach raw generate (chararray)$0#'field1' as text,(long)$0#'field2' as 
id; ...



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

Reply via email to