You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Luca Morandini (JIRA)" <ji...@apache.org> on 2014/08/12 00:24:13 UTC
[jira] [Created] (DRILL-1284) Better documentation describing the
accepted JSON data input
Luca Morandini created DRILL-1284:
-------------------------------------
Summary: Better documentation describing the accepted JSON data input
Key: DRILL-1284
URL: https://issues.apache.org/jira/browse/DRILL-1284
Project: Apache Drill
Issue Type: Improvement
Components: Documentation
Affects Versions: 0.4.0
Reporter: Luca Morandini
Since JSON data input can be very diversified, and Drill, so far, accepts only tuples defined in one mongimport format, it would be useful to have this clearly spelled out in the documentation.
This improvement to the documentation should stress:
# The accepted JSON input format (single Objects describeing tuples, every one of them in a single line, with no separator between lines);
# The homogeneous Arrays constraint: only elements of the same type are accepted in a JSON array in Drill;
# The need to address a single element of a JSON array in a Drill SQL query: {{SELECT foo\[2\] FROM bar.json}} is accepted, {{SELECT foo FROM bar.json}} is not
--
This message was sent by Atlassian JIRA
(v6.2#6252)