You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2020/11/20 15:36:43 UTC

[GitHub] [accumulo] EdColeman commented on issue #1776: Check for consistency of shell commands that operate on a table.

EdColeman commented on issue #1776:
URL: https://github.com/apache/accumulo/issues/1776#issuecomment-731240094


   Mark, thanks for picking this up - when scripting, needed to switch into a table before being able to run a command was a pain point.  
   
   As for then it comes to requiring or having -t as an option on the remaining six - my inclination is to always have -t available so the commands take consistent input rather than needing to remember that those six are outliers.  However, there are two that stand out - clonetable and renametable - they take two table names so if only -t was added it could leave confusion unless there was -t (source?) and -n (destination) or something. Without two switches, what table is specified by -t (I'd assume the source, but...)
   
   With these six, the intent is clear that they require a table name, so its fine either way - just wanted to weigh my preference is for consistency over brevity when possible.  For me, the extra typing required if -t was always required is less mental effort than needing to remember when -t not available.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org