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

Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/94dd5166
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/94dd5166
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/94dd5166

Branch: refs/heads/HBASE-19064
Commit: 94dd5166b2354ba42763585bebfcb1c54ec2efe0
Parents: 221eb95
Author: Chia-Ping Tsai <chia7...@gmail.com>
Authored: Sat Jan 27 06:08:34 2018 +0800
Committer: Chia-Ping Tsai <chia7...@gmail.com>
Committed: Mon Jan 29 16:37:32 2018 +0800

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/shell/commands/delete.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/94dd5166/hbase-shell/src/main/ruby/shell/commands/delete.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/shell/commands/delete.rb 
b/hbase-shell/src/main/ruby/shell/commands/delete.rb
index 6995959..923d349 100644
--- a/hbase-shell/src/main/ruby/shell/commands/delete.rb
+++ b/hbase-shell/src/main/ruby/shell/commands/delete.rb
@@ -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)

Reply via email to