FUNDAMENTALS OF COMPUTER

DATABASE FUNDAMENTALS

BASICS OF BIG DATA

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
We can delete a column family with ____
A
drop
B
alter
C
delete
D
disable
Explanation: 

Detailed explanation-1: -Alter is the command used to make changes to an existing table. Using this command, you can change the maximum number of cells of a column family, set and delete table scope operators, and delete a column family from a table.

Detailed explanation-2: -You can delete a column family from a table using the method deleteColumn() of HBAseAdmin class.

Detailed explanation-3: -A column family cannot be renamed. The common approach to rename a family is to create a new family with the desired name and copy the data over, using the API. Reference Hbase-The Definitve Guide.

There is 1 question to complete.