HBASE-19871 delete.rb should require user to provide the column
This commit is contained in:
parent
221eb95768
commit
94dd5166b2
|
@ -40,12 +40,12 @@ t to table 't1', the corresponding command would be:
|
||||||
EOF
|
EOF
|
||||||
end
|
end
|
||||||
|
|
||||||
def command(table, row, column = nil,
|
def command(table, row, column,
|
||||||
timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {})
|
timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {})
|
||||||
delete(table(table), row, column, timestamp, args)
|
delete(table(table), row, column, timestamp, args)
|
||||||
end
|
end
|
||||||
|
|
||||||
def delete(table, row, column = nil,
|
def delete(table, row, column,
|
||||||
timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {})
|
timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {})
|
||||||
@start_time = Time.now
|
@start_time = Time.now
|
||||||
table._delete_internal(row, column, timestamp, args, false)
|
table._delete_internal(row, column, timestamp, args, false)
|
||||||
|
|
Loading…
Reference in New Issue