Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-203

A new format for showing query results (just align data in a device)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.0
    • None

    Description

      When executing a SQL like "select d1.s1, d2.s1 from root.sg1", the default result set format in IoTDB is 

      "time, root.sg1.d1.s1, root.sg1.d2.s1"

      1 , 1, 1

      2, 2, 2

      However, some users want to get another format, The results could be grouped by device, then sorted by time.

      "time, deviceId, s1".

      1, root.sg1.d1, 1

      2, root.sg1.d2, 2

       

      This can be done in the client, but it would be better if we support this format in the server.

       

      Attachments

        1. image-2019-12-04-10-44-27-682.png
          206 kB
          xiangdong Huang

        Issue Links

          Activity

            People

              Unassigned Unassigned
              qiaojialin Jialin Qiao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m