jmark99 opened a new pull request #1771:
URL: https://github.com/apache/accumulo/pull/1771


   This change adds the <code>--tablename</code> option to the insert command 
when inside the shell or when using the accumulo command with <code>accumulo 
shell -e \<task\></code>. The option is not required, but if used it allows 
data to be inserted into a table in situations where the shell is not within a 
table context or when in a table context to insert data into another table.
   
   Although I would not expect this option to be utilized very often, I found 
myself in need of it when working with the various accumulo examples in the 
accumulo-examples repo. I had many situations where I wished to insert some 
test data from a bash shell using the form:
   
   <code>accumulo shell -u user -p pwd -e "insert r f q v"</code>
   
   but this would fail due to there being no table name context for the 
insertion. This update allows data inserts from a command line using the form: 
   
   <code>accumulo shell -u user -p pwd -e "insert r f q v --tablename 
destination_table" </code>
   
   Note, there is no shortened form of the option to minimize confusion with 
the -ts option.


----------------------------------------------------------------
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:
[email protected]


Reply via email to