You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Paul Jones <pa...@adobe.com> on 2016/09/09 22:43:18 UTC
Specifying a cells version
I see that when I create a table using phoenix I can specify how many versions of a cell I want to keep. Is it possible to specify a version value when I perform an upsert? I am receiving data in order from the customer but would like to be able to process it out of order but specify the version value to be the timestamp that the customer gave us the data rather than the timestamp that the data is inserted. Is that possible using phoenix?
http://hbase.apache.org/0.94/book/versions.html
Thanks,
Paul
Re: Specifying a cells version
Posted by James Taylor <ja...@apache.org>.
See
http://phoenix.apache.org/faq.html#Can_phoenix_work_on_tables_with_arbitrary_timestamp_as_flexible_as_HBase_API
and http://phoenix.apache.org/rowtimestamp.html
Thanks,
James
On Fri, Sep 9, 2016 at 3:43 PM, Paul Jones <pa...@adobe.com> wrote:
> I see that when I create a table using phoenix I can specify how many
> versions of a cell I want to keep. Is it possible to specify a version
> value when I perform an upsert? I am receiving data in order from the
> customer but would like to be able to process it out of order but specify
> the version value to be the timestamp that the customer gave us the data
> rather than the timestamp that the data is inserted. Is that possible using
> phoenix?
>
> http://hbase.apache.org/0.94/book/versions.html
>
> Thanks,
> Paul
>
>