You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Joey McAllister (JIRA)" <ji...@apache.org> on 2019/04/15 17:10:00 UTC

[jira] [Commented] (GEODE-6653) Gfsh command output trimed

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

Joey McAllister commented on GEODE-6653:
----------------------------------------

Thanks for submitting this docs fix! I definitely agree that we should correctly document the current Geode functionality, but also this seems to me like it might be a case where the originally documented functionality _ought to be correct_.

I'd love to hear from someone who works closely with gfsh on whether this should be a code fix rather than a docs fix. 

> Gfsh command output trimed
> --------------------------
>
>                 Key: GEODE-6653
>                 URL: https://issues.apache.org/jira/browse/GEODE-6653
>             Project: Geode
>          Issue Type: Bug
>          Components: docs, gfsh
>    Affects Versions: 1.7.0, 1.8.0, 1.9.0
>            Reporter: Mario Kevo
>            Assignee: Mario Kevo
>            Priority: Major
>             Fix For: 1.10.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> While executing query on entry with a large key, gfsh automatically trims the columns width so it can fit in available width of the terminal.
> {code:java}
> gfsh>query --query="select * from /example-region"
> Result : true
> Limit  : 100
> Rows   : 1
> Result
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ali..
> {code}
>  
> In a documentation state following:
> _gfsh commands such as {{query}} produce output with wide columns that may become misaligned and require manual reformatting to view the output. If the output cannot fit in the available width of the terminal, gfsh automatically trims the columns widths to fit. You can disable this behavior by setting the gfsh environment variable {{GFSH.TRIMSCRWIDTH}} to {{false}}._
> But this is wrong described. Only way to disable this behavior is setting gfsh environment variable APP_RESULT_VIEWER to an arbitrary value except 'external' as it enables viewing of the output using UNIX _less_ command. 
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)