phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Faisal Moeen (JIRA)" <>
Subject [jira] [Created] (PHOENIX-1008) Problem initiating and using FLOAT ARRAY Type
Date Thu, 29 May 2014 13:25:01 GMT
Faisal Moeen created PHOENIX-1008:

             Summary: Problem initiating and using FLOAT ARRAY Type
                 Key: PHOENIX-1008
             Project: Phoenix
          Issue Type: Bug
         Environment: Phoenix 3.0 with Hbase 0.94.18
uname -a: Linux faisal-VirtualBox 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux
            Reporter: Faisal Moeen
            Priority: Minor

I am unable to use float arrays. I am facing no problem with varchar, integer or double arrays
doing same. I create a table like this:
create table if not exists location(name varchar not null, point float array[2], box float
array[4], constraint pk primary key (name));
I add a row to it:
upsert into LOCATION values('qaisar', array[75.0,75.0], array[72.1,74.1,74.1,72.1]);
Now I check array lengths:
select array_length(point),array_length(box) from LOCATION;
I get the following answer:
whereas I expect
The values point[1] or point[2] are also not correct.

This message was sent by Atlassian JIRA

View raw message