drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hao Zhu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2055) Drill should error out for Invalid json file if it has the same map key names.
Date Thu, 22 Jan 2015 01:59:35 GMT
Hao Zhu created DRILL-2055:
------------------------------

             Summary: Drill should error out for Invalid json file if it has the same map
key names.
                 Key: DRILL-2055
                 URL: https://issues.apache.org/jira/browse/DRILL-2055
             Project: Apache Drill
          Issue Type: Bug
          Components: Query Planning & Optimization
    Affects Versions: 0.7.0
            Reporter: Hao Zhu
            Assignee: Jinfeng Ni
            Priority: Minor


For json file with same map key names:

{
    "a" : "x",
    "a" : "y"
}

Should we consider it invalid json format and error out?
Ref:
http://stackoverflow.com/questions/21832701/does-json-syntax-allow-duplicate-keys-in-an-object#answer-23195243




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

Mime
View raw message