Apache Drill
  1. Apache Drill
  2. DRILL-981

Display JSON map object in the same order as the original JSON object

    Details

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

      Description

      When DRILL display a JSON object as a query result, Drill should display a map object in the same order as that in the original JSON object.

      To do that, we need keep track the insertion order of vectors added to map object, and shows the content of map in the insertion order.

        Activity

        Jinfeng Ni created issue -
        Jinfeng Ni made changes -
        Field Original Value New Value
        Attachment DRILL-981.1.patch [ 12650326 ]
        Jinfeng Ni made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Jacques Nadeau added a comment -

        Adding a quick comment here. This fix only applies in the case of a standard order across all files and records where the fields occur in the first record. Otherwise, map order will be interdeterminate

        Show
        Jacques Nadeau added a comment - Adding a quick comment here. This fix only applies in the case of a standard order across all files and records where the fields occur in the first record. Otherwise, map order will be interdeterminate
        Jacques Nadeau made changes -
        Assignee Jinfeng Ni [ jni ] DrillCommitter [ drillcommitter ]
        Jacques Nadeau made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Jacques Nadeau added a comment -

        merged on or before f86639c

        Show
        Jacques Nadeau added a comment - merged on or before f86639c
        Jacques Nadeau made changes -
        Fix Version/s 0.4.0 [ 12324963 ]
        Tony Stevenson made changes -
        Workflow no-reopen-closed, patch-avail, testing [ 12869254 ] Drill workflow [ 12933469 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        3m 35s 1 Jinfeng Ni 13/Jun/14 17:03
        Patch Available Patch Available Resolved Resolved
        3d 5h 29m 1 Jacques Nadeau 16/Jun/14 22:33

          People

          • Assignee:
            DrillCommitter
            Reporter:
            Jinfeng Ni
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development