[
https://issues.apache.org/jira/browse/PHOENIX-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shuxiong Ye updated PHOENIX-1687:
---------------------------------
Attachment: add-function-PHOENIX-1611-1687-2015-2019-2020.patch
Hi [~jamestaylor],
This patch contains:
1. add math build-in function: PHOENIX-1611(ABS), PHOENIX-1687(POWER),
PHOENIX-2015(CBRT), PHOENIX-2019(LN_LOG), PHOENIX-2020(EXP).
2. Compiler optimization test in QueryCompilerTest for function CBRT, LN, LOG,
EXP. Since ABS and EXP is not monotonic function, so they are not
OrderPreserving.
Thanks.
> 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: Shuxiong Ye
> Labels: gsoc2015, java
> Attachments: add-function-PHOENIX-1611-1687-2015-2019-2020.patch
>
>
> 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)