Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6633

Remove JSON pretty printing from PdxToJSON

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • gfsh, querying
    • None

    Description

      This will allow gfsh query results to display as single lines and not create multi-line output in tabular results.

      Currently it looks like this:

      Command result for <query --query="select * from /BOZ.values">:
      Result : true
      Limit : 100
      Rows : 100
      
      name | address | street | city
      ------- | ------------------------------------------------ | ------- | -------
      name_16 | {
      "street" : "Main 16",
      "city" : "City 16"
      } | Main 16 | City 16
      name_82 | {
      "street" : "Main 82",
      "city" : "City 82"
      } | Main 82 | City 82
      name_1 | {
      "street" : "Main 1",
      "city" : "City 1"
      } | Main 1 | City 1
      name_44 | {
      "street" : "Main 44",
      "city" : "City 44"
      } | Main 44 | City 44
      name_48 | {
      "street" : "Main 48",
      "city" : "City 48"
      } | Main 48 | City 48

      It should be more like this:

      Command result for <query --query="select * from /BOZ.values">:
      Result : true
      Limit : 100
      Rows : 100
      
      
      name    | address                               | street  | city
      ------- | ------------------------------------- | ------- | -------
      name_45 | {"street":"Main 45","city":"City 45"} | Main 45 | City 45
      name_3  | {"street":"Main 3","city":"City 3"}   | Main 3  | City 3
      name_68 | {"street":"Main 68","city":"City 68"} | Main 68 | City 68
      name_60 | {"street":"Main 60","city":"City 60"} | Main 60 | City 60
      name_31 | {"street":"Main 31","city":"City 31"} | Main 31 | City 31

      Attachments

        Issue Links

          Activity

            People

              jens.deppe Jens Deppe
              jens.deppe Jens Deppe
              Votes:
              1 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 - 0.5h
                  0.5h