有时候我们使用Phoenix创建一个View视图表后,然后在上面创建Index后,在Hbase上Put一条数据后,在Phoenix视图表是查不出数据的,那如何操作才能看到新增加的数据?
Phoenix
View
Index
方式一
drop index ind on "testTable"; create index ind on "testTable"("ext"."userId");
方式二
alter index ind on "testTable" REBUILD;