You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Hao Zhu (JIRA)" <ji...@apache.org> on 2015/01/22 02:59:35 UTC

[jira] [Created] (DRILL-2055) Drill should error out for Invalid json file if it has the same map key names.

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)