You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by Davide Gazzè <da...@gmail.com> on 2016/12/17 09:40:09 UTC

Phoenix Array

Hi at all,
I use Apache Phoenix from some months and I appreciate this project. I
would like to know if Array DataType has any limitation.
Best,

    Davide

Re: Phoenix Array

Posted by Davide Gazzè <da...@gmail.com>.
Hi Jamex,
you right is don't read the limitation:


   - Partial update of an array is currently not possible. Instead, the
   array may be manipulated on the client-side and then upserted back in its
   entirety.

I am very sorry

Best,

   Davide

2016-12-19 16:10 GMT+01:00 James Taylor <ja...@apache.org>:

> Looks like you didn't read the limitations section of the link that Nick
> shared with you: http://phoenix.apache.org/array_type.html
>
> On Mon, Dec 19, 2016 at 1:39 AM Davide Gazzè <da...@gmail.com>
> wrote:
>
> > Hi Nick,
> >
> > ths for your response. Due to the fact that an array is saved physically
> in
> >
> > a single cell on HBase. I think that if my Array overcome the max size I
> >
> > receive an error. Is it true? Can I incrementally add element single in
> the
> >
> > array?
> >
> >
> >
> > Davide
> >
> >
> >
> > Il 18/dic/2016 18:43, "Nick Dimiduk" <nd...@gmail.com> ha scritto:
> >
> >
> >
> > > Hi Davide,
> >
> > >
> >
> > > I'm glad Phoenix is working well for you. Can you be more specific with
> >
> > > your question? What kind of limitations are you concerned about? Have
> you
> >
> > > seen the ARRAY Type documentation? It outlines some limitations at the
> >
> > > bottom on the page.
> >
> > >
> >
> > > http://phoenix.apache.org/array_type.html
> >
> > >
> >
> > > -n
> >
> > >
> >
> > > On Sat, Dec 17, 2016 at 1:40 AM Davide Gazzè <da...@gmail.com>
> >
> > > wrote:
> >
> > >
> >
> > > > Hi at all,
> >
> > > >
> >
> > > > I use Apache Phoenix from some months and I appreciate this project.
> I
> >
> > > >
> >
> > > > would like to know if Array DataType has any limitation.
> >
> > > >
> >
> > > > Best,
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >     Davide
> >
> > > >
> >
> > > >
> >
> > >
> >
> >
>

Re: Phoenix Array

Posted by James Taylor <ja...@apache.org>.
Looks like you didn't read the limitations section of the link that Nick
shared with you: http://phoenix.apache.org/array_type.html

On Mon, Dec 19, 2016 at 1:39 AM Davide Gazzè <da...@gmail.com> wrote:

> Hi Nick,
>
> ths for your response. Due to the fact that an array is saved physically in
>
> a single cell on HBase. I think that if my Array overcome the max size I
>
> receive an error. Is it true? Can I incrementally add element single in the
>
> array?
>
>
>
> Davide
>
>
>
> Il 18/dic/2016 18:43, "Nick Dimiduk" <nd...@gmail.com> ha scritto:
>
>
>
> > Hi Davide,
>
> >
>
> > I'm glad Phoenix is working well for you. Can you be more specific with
>
> > your question? What kind of limitations are you concerned about? Have you
>
> > seen the ARRAY Type documentation? It outlines some limitations at the
>
> > bottom on the page.
>
> >
>
> > http://phoenix.apache.org/array_type.html
>
> >
>
> > -n
>
> >
>
> > On Sat, Dec 17, 2016 at 1:40 AM Davide Gazzè <da...@gmail.com>
>
> > wrote:
>
> >
>
> > > Hi at all,
>
> > >
>
> > > I use Apache Phoenix from some months and I appreciate this project. I
>
> > >
>
> > > would like to know if Array DataType has any limitation.
>
> > >
>
> > > Best,
>
> > >
>
> > >
>
> > >
>
> > >     Davide
>
> > >
>
> > >
>
> >
>
>

Re: Phoenix Array

Posted by Davide Gazzè <da...@gmail.com>.
Hi Nick,
ths for your response. Due to the fact that an array is saved physically in
a single cell on HBase. I think that if my Array overcome the max size I
receive an error. Is it true? Can I incrementally add element single in the
array?

Davide

Il 18/dic/2016 18:43, "Nick Dimiduk" <nd...@gmail.com> ha scritto:

> Hi Davide,
>
> I'm glad Phoenix is working well for you. Can you be more specific with
> your question? What kind of limitations are you concerned about? Have you
> seen the ARRAY Type documentation? It outlines some limitations at the
> bottom on the page.
>
> http://phoenix.apache.org/array_type.html
>
> -n
>
> On Sat, Dec 17, 2016 at 1:40 AM Davide Gazzè <da...@gmail.com>
> wrote:
>
> > Hi at all,
> >
> > I use Apache Phoenix from some months and I appreciate this project. I
> >
> > would like to know if Array DataType has any limitation.
> >
> > Best,
> >
> >
> >
> >     Davide
> >
> >
>

Re: Phoenix Array

Posted by James Taylor <ja...@apache.org>.
One thing to keep in mind is that all of the array elements are stored in a
single cell. As long as the combined size of all elements is less than what
HBase is happy with for a cell, you should be fine. Also, FWIW, references
to a single element are optimized to only return that element on selects.

Thanks,
James

On Sun, Dec 18, 2016 at 9:43 AM, Nick Dimiduk <nd...@gmail.com> wrote:

> Hi Davide,
>
> I'm glad Phoenix is working well for you. Can you be more specific with
> your question? What kind of limitations are you concerned about? Have you
> seen the ARRAY Type documentation? It outlines some limitations at the
> bottom on the page.
>
> http://phoenix.apache.org/array_type.html
>
> -n
>
> On Sat, Dec 17, 2016 at 1:40 AM Davide Gazzè <da...@gmail.com>
> wrote:
>
> > Hi at all,
> >
> > I use Apache Phoenix from some months and I appreciate this project. I
> >
> > would like to know if Array DataType has any limitation.
> >
> > Best,
> >
> >
> >
> >     Davide
> >
> >
>

Re: Phoenix Array

Posted by Nick Dimiduk <nd...@gmail.com>.
Hi Davide,

I'm glad Phoenix is working well for you. Can you be more specific with
your question? What kind of limitations are you concerned about? Have you
seen the ARRAY Type documentation? It outlines some limitations at the
bottom on the page.

http://phoenix.apache.org/array_type.html

-n

On Sat, Dec 17, 2016 at 1:40 AM Davide Gazzè <da...@gmail.com> wrote:

> Hi at all,
>
> I use Apache Phoenix from some months and I appreciate this project. I
>
> would like to know if Array DataType has any limitation.
>
> Best,
>
>
>
>     Davide
>
>