Repository: drill Updated Branches: refs/heads/gh-pages 98dfbea8b -> 8967b8c12
remove workaround per Jason and user Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/8c66a77d Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/8c66a77d Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/8c66a77d Branch: refs/heads/gh-pages Commit: 8c66a77d636ca7cbc324b37c19e3f1e71855908e Parents: 98dfbea Author: Kristine Hahn <[email protected]> Authored: Tue Aug 4 17:16:39 2015 -0700 Committer: Kristine Hahn <[email protected]> Committed: Tue Aug 4 17:16:39 2015 -0700 ---------------------------------------------------------------------- .../050-json-data-model.md | 20 -------------------- 1 file changed, 20 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill/blob/8c66a77d/_docs/data-sources-and-file-formats/050-json-data-model.md ---------------------------------------------------------------------- diff --git a/_docs/data-sources-and-file-formats/050-json-data-model.md b/_docs/data-sources-and-file-formats/050-json-data-model.md index 59618f8..b2b7043 100644 --- a/_docs/data-sources-and-file-formats/050-json-data-model.md +++ b/_docs/data-sources-and-file-formats/050-json-data-model.md @@ -437,26 +437,6 @@ Workaround: Separate lengthy objects into objects delimited by curly braces usin * [KVGEN]({{ site.baseurl }}/docs/kvgen/) separates objects having more elements than optimal for querying. -### Nested Column Names - -You cannot use reserved words for nested column names because Drill returns null if you enclose n-level nested column names in back ticks. The previous example encloses the date and time column names in back ticks because the names are reserved words. The enclosure of column names in back ticks works because the date and time columns belong to the first level of the JSON object. - -For example, the following object contains the reserved word key, which you need to rename to `_key` or something other than non-reserved word: - - { - "type": "ticket", - "channel": 123455, - "_month": 12, - "_day": [ 15, 25, 28, 31 ], - "sales": { - "NY": 532806, - "PA": 112889, - "TX": 898999, - "UT": 10875 - "key": [ 78946, 39107, 76311 ] - } - } - ### Schema changes Drill cannot read JSON files containing changes in the schema. For example, attempting to query an object having array elements of different data types cause an error:
