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

Better documentation describing the accepted JSON data input

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.8.0
    • Documentation
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: