Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Create a table with table name, column family and row id in HBase using Phoenix.

Highlighted

Create a table with table name, column family and row id in HBase using Phoenix.

New Contributor

Is there any way to create a table in Hbase using Phoenix where I can specify the column family name, row id too.

If Not, what are the default column family and row_id in HBase if I hit the below phoenix command to create a new table of name us_population?

CREATE TABLE IF NOT EXISTS us_population (
      state CHAR(2) NOT NULL,
      city VARCHAR NOT NULL,
      population BIGINT
      CONSTRAINT my_pk PRIMARY KEY (state, city));