Member since
04-06-2020
2
Posts
0
Kudos Received
0
Solutions
04-06-2020
03:14 AM
according to this post:https://phoenix.apache.org/faq.html#How_I_map_Phoenix_table_to_an_existing_HBase_table you can do it like this, say that the existing HBase table is "t1" : CREATE VIEW "t1"("col1" varchar not null,
"col2" varchar not null,
"col3" varchar not null,
"col4" integer not null,
"f"."c1" integer,
"f"."c2" integer,
CONSTRAINT "ROW" PRIMARY KEY("col1", "col2", "col3", "col4")
);
... View more