Chun Chang created DRILL-367:
--------------------------------

             Summary: FoodMart data (category.json) packaged with Drill does 
not conform with JSON specification 
                 Key: DRILL-367
                 URL: https://issues.apache.org/jira/browse/DRILL-367
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.0.0-milestone-2
            Reporter: Chun Chang
            Priority: Trivial


The json file category.json packaged within mondrian-data-foodmart-json-0.2.jar 
contains non-json conforming data (extra double double quote, single quote can 
be used directly and does not need to be escaped):

[root@ mondrian-data]# cat category.json
{"category_id":"ACTUAL","category_parent":null,"category_description":"Current 
Year""s Actuals","category_rollup":null}
{"category_id":"ADJUSTMENT","category_parent":null,"category_description":"Adjustment
 for Budget input","category_rollup":null}
{"category_id":"BUDGET","category_parent":null,"category_description":"Current 
Year""s Budget","category_rollup":null}
{"category_id":"FORECAST","category_parent":null,"category_description":"Forecast","category_rollup":null}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to