As far as I know there is no way in Phoenix that you can explicitly query
data based on underlying hbase row key time stamp. Phoenix does provide a
connection property "CurrentSCN" which sets the upper bound of time stamps
but not point or range query against row key time stamp. You can explicitly
create a timestamp column in your table if there is a need.
From: Justin Workman <justinjworkman@gmail.com>
Reply-To: <user@phoenix.apache.org>
Date: Friday, June 6, 2014 2:26 PM
To: "user@phoenix.incubator.apache.org" <user@phoenix.incubator.apache.org>
Subject: Query HBase column/row timestamp
Sorry if this question has already been answered somewhere, I haven't been
able to find it through normal channels or searching.
Is it possible to query by the Hbase column or row timestamp value?
Basically I want to select all records, via Phoenix, where the last
timestamp is ~24 hours.
Thanks
Justin
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
|