• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in HBase by
Q:

Give the commands to add a new column family “(newcolfamily”) to a table (“tablename”) which has a existing column family(“oldcolfamily”).

1 Answer

0 votes
by

Hbase > disable ‘tablename’

Hbase > alter ‘tablename’ {NAME => ‘oldcolfamily’,NAME=>’newcolfamily’}

Habse > enable ‘tablename’

Related questions

0 votes
asked Dec 3, 2020 in Hive by sharadyadav1986
0 votes
asked Jul 8, 2020 in Sql by Robindeniel
...