phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sumit Nigam <sumit_o...@yahoo.com>
Subject Current time from Hbase
Date Mon, 05 Oct 2015 03:45:41 GMT
Hi,
How can I get the current time from Hbase? 
I can use Phoenix function current_time(). One way would be to query this column against any
table as - SELECT CURRENT_TIME() AS TIME FROM TABL LIMIT 1; Or, I could possibly create a
single row, single column table and query against that table for current time.
Is there a better way than how I am describing it above? 
Thanks,Sumit


Mime
View raw message