[
https://issues.apache.org/jira/browse/PHOENIX-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14361992#comment-14361992
]
simardeep s arneja commented on PHOENIX-1687:
---------------------------------------------
Hi Jsmes,
I was on working on implementing power function. I have a basic functionality
implemented and have also written a simple test. While testing the simple
query "Select POWER(2.0,2.0)", it was unable to identify the power function(the
function i have implemented).
Error message : org.apache.phoenix.exception.PhoenixParserException: ERROR 605
(42P00): Syntax error. Unknown function: "POWER"
> Implement missing math built-in POWER function
> ----------------------------------------------
>
> Key: PHOENIX-1687
> URL: https://issues.apache.org/jira/browse/PHOENIX-1687
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Aakarsh Agarwal
> Assignee: Aakarsh Agarwal
> Labels: gsoc2015, java
>
> Take a look at the typical math functions that are implemented in relational
> database systems
> (http://www.postgresql.org/docs/current/static/functions-math.html) and
> implement the same for Phoenix in Java following this guide:
> http://phoenix-hbase.blogspot.com/2013/04/how-to-add-your-own-built-in-function.html
> For this specific task, it is meant to implement missing funstion POWER for
> Phoenix in Java.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)