geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dick Cavender (Jira)" <j...@apache.org>
Subject [jira] [Closed] (GEODE-6633) Remove JSON pretty printing from PdxToJSON
Date Thu, 26 Sep 2019 18:03:06 GMT

     [ https://issues.apache.org/jira/browse/GEODE-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dick Cavender closed GEODE-6633.
--------------------------------

> Remove JSON pretty printing from PdxToJSON
> ------------------------------------------
>
>                 Key: GEODE-6633
>                 URL: https://issues.apache.org/jira/browse/GEODE-6633
>             Project: Geode
>          Issue Type: Improvement
>          Components: gfsh, querying
>            Reporter: Jens Deppe
>            Assignee: Jens Deppe
>            Priority: Major
>             Fix For: 1.10.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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:
> {noformat}
> 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{noformat}
> It should be more like this:
> {noformat}
> 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{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message