[ 
https://issues.apache.org/jira/browse/DRILL-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908878#comment-13908878
 ] 

Jinfeng Ni commented on DRILL-379:
----------------------------------

Hi Yash,

The math functions I did is not a complete list. So, it would be great that you 
can work on other math functions at the same time.

For codegen, I think it would be good to use codegen, if several functions 
share similar implementation. Using codegen and template will reduce the effort 
to maintain a long list of similar function implementations.  If the function 
is quite unique, then I feel probably it does not make much sense to use 
codegen. Just my personal preferences. 

> Support part of commonly used String functions and Math functions in Drill. 
> ----------------------------------------------------------------------------
>
>                 Key: DRILL-379
>                 URL: https://issues.apache.org/jira/browse/DRILL-379
>             Project: Apache Drill
>          Issue Type: New Feature
>            Reporter: Jinfeng Ni
>            Assignee: Jinfeng Ni
>         Attachments: Drill-379.1.patch.txt
>
>
> We will add the support of some commonly used String functions and Math 
> functions (over int, floating-point number). 
> 1. like
> 2. similar
> 3. regexp_replace
> 4. char_length
> 4. oct_length
> 5. bit_length
> 6. position
> 7. strops
> 8. lower
> 9. upper
> 10. initcap
> 11. substring/substr
> 12. left
> 13. right
> 14. replace
> 15.lpad
> 16 rpad
> 17. ltrim
> 18. rtrim
> 19. concat.
> Math : abs, ceil, floor, sqrt, sign, trunc. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to