phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rafa <raf...@gmail.com>
Subject Re: problems about using phoenix over hbase
Date Tue, 19 Apr 2016 12:17:20 GMT
Hi,

test with:

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

regards,
rafa

On Tue, Apr 19, 2016 at 12:58 PM, 金砖 <jinzhuan@wacai.com> wrote:

> 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 ?
>

Mime
View raw message