HBASE-19871 delete.rb should require user to provide the column

This commit is contained in:
Chia-Ping Tsai 2018-01-27 06:08:34 +08:00
parent 221eb95768
commit 94dd5166b2
1 changed files with 2 additions and 2 deletions

View File

@ -40,12 +40,12 @@ t to table 't1', the corresponding command would be:
EOF
end
def command(table, row, column = nil,
def command(table, row, column,
timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {})
delete(table(table), row, column, timestamp, args)
end
def delete(table, row, column = nil,
def delete(table, row, column,
timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {})
@start_time = Time.now
table._delete_internal(row, column, timestamp, args, false)