phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 金砖 <>
Subject problems about using phoenix over hbase
Date Tue, 19 Apr 2016 10:58:45 GMT
I'm new to phoenix
using phoenix-4.7.0-HBase-1.1 on hbase-1.1.3

my steps:

1. create hbase table
     create 'test', 'family'

2. put row in hbase table
     put 'test', 'row1', 'family:number', '123456'

3. create view in phoenix
     create view if not exists "test" (pk VARCHAR primary key, 
"family".number INTEGER);

4. select phoenix view
     select NUMBER from "test";

But why result  is null ? Is there anything wrong about the steps ?

View raw message