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

Chia-Ping Tsai commented on HBASE-18920:
----------------------------------------

What about making the max columns configurable?
{code}
public abstract class Operation {
  // TODO make this configurable
  // TODO Do we need this anymore now we have protobuffed it all?
  private static final int DEFAULT_MAX_COLS = 5;
{code}

> Operation.toString() is counterintuitive
> ----------------------------------------
>
>                 Key: HBASE-18920
>                 URL: https://issues.apache.org/jira/browse/HBASE-18920
>             Project: HBase
>          Issue Type: Bug
>            Reporter: James Taylor
>
> When debugging, you often need to know which columns are projected into the 
> Scan. The Operation.toString() silently truncates what you see to the first 
> 5. Typically, if you truncate a value, you should end it with "..." so that 
> the user knows there are actually more (instead of wasting time thinking 
> they're not projecting everything that needs to be projected). Also, a limit 
> of 5 is way to small of a default.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to