Custom Function that performs lookup
Can I write a custom function that takes in some columns as parameters and then does an hbase lookup to translate this to a different value?
-
In general, this is possible. With the SimpleFunctionType you will be able to take a number of arguments and return a result value.
https://documentation.datameer.com/documentation/current/Tutorial02+-+Building+Custom+Functions
Within the function you need to cover the part of connecting to a remote HBase in Java then.
-
Thanks Gido. I'm still confused about what the runtime support is. Can I connect to any HBase, HDFS source? Can I connect to other sources like Vertica? Are there limitations to what servers I can connect to or can I pretty much use any Java functionality?
Also - are there other restrictions on the functions such as side effect restrictions?
Please sign in to leave a comment.
Comments
5 comments