Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1284

Better documentation describing the accepted JSON data input

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.8.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      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:

      1. The accepted JSON input format (single Objects describeing tuples, every one of them in a single line, with no separator between lines);
      2. The homogeneous Arrays constraint: only elements of the same type are accepted in a JSON array in Drill;
      3. 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

        Attachments

          Activity

            People

            • Assignee:
              inramana Ramana Inukonda Nagaraj
              Reporter:
              lmorandini Luca Morandini
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: