Re: Access Hbase Cell Timestamp using Phoenix UDF

2019-03-13 Thread OMKAR NALAWADE
Thanks a lot. VARBINARY did work. On Tue, Mar 5, 2019 at 10:16 PM James Taylor wrote: > You should be able to declare your parameter as VARBINARY and you can then > use any type. > > On Tue, Mar 5, 2019 at 5:56 PM OMKAR NALAWADE > wrote: > >> Hello, >> >> I am trying to access cell level

Re: Access Hbase Cell Timestamp using Phoenix UDF

2019-03-05 Thread James Taylor
You should be able to declare your parameter as VARBINARY and you can then use any type. On Tue, Mar 5, 2019 at 5:56 PM OMKAR NALAWADE wrote: > Hello, > > I am trying to access cell level timestamp of a given column in a table > using a phoenix UDF. > *For example:* I have created a UDF named

Re: Access Hbase Cell Timestamp using Phoenix UDF

2019-03-05 Thread OMKAR NALAWADE
Hello, I am trying to access cell level timestamp of a given column in a table using a phoenix UDF. *For example:* I have created a UDF named TS_UDF(dataType) When we register the function using CREATE FUNCTION TS_UDF(BOOLEAN) RETURNS BIGINT as 'com.mypackage.TsFunction.' using jar