phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aakarsh Agarwal (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-1660) Implement missing math built-in functions
Date Thu, 19 Feb 2015 18:32:12 GMT


Aakarsh Agarwal commented on PHOENIX-1660:

Hi James,
Thanks for replying so soon. I got what u mentioned in your comment. I need to first go through
the codes of classes and grammar file you mentioned in ordet to get hang of it and then implement
a built in function.

In the original desciption, it is only mentioned how to create a new class for the implementation
of built-in functions. I think I need to first fork the original existing code from Github
and then implement and add a new class to it.Is it so?

To add, will you recommend any particular built-in function that may be easy to implement
as was the case with REVERSE function, or I may start with any of those mentioned in the original

Aakarsh Agarwal

> Implement missing math built-in functions
> -----------------------------------------
>                 Key: PHOENIX-1660
>                 URL:
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>              Labels: Java, SQL, gsoc2015, mentor
> Take a look at the typical math functions that are implemented in relational database
systems ( and implement
the same for Phoenix in Java following this guide:
> Examples of missing functions include POWER, LOG, EXP, SQRT, CBRT, etc. As a guide, examine
how ROUND is implemented in Phoenix as an abstract function with concrete functions per type:
long, decimal, and date/time types.

This message was sent by Atlassian JIRA

View raw message