Details

      Description

      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.

      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..
      

       

      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.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mkevo Mario Kevo
                Reporter:
                mkevo Mario Kevo
              • Votes:
                0 Vote for this issue
                Watchers:
                5 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 - 40m
                  40m