You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/12 00:51:01 UTC

[jira] [Commented] (GEODE-6633) Remove JSON pretty printing from PdxToJSON

    [ https://issues.apache.org/jira/browse/GEODE-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16815875#comment-16815875 ] 

ASF subversion and git services commented on GEODE-6633:
--------------------------------------------------------

Commit 339196b24b11c3d4e2763ea64298531ff3ecc9ff in geode's branch refs/heads/develop from Jens Deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=339196b ]

GEODE-6633: Remove JSON pretty printing from PdxToJSON (#3444)




> 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
>          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
(v7.6.3#76005)