You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by Charles Givre <cg...@gmail.com> on 2018/07/19 14:08:14 UTC

Drill TYPE functions

Hello all, 
Is there a list somewhere of all the Drill type functions? 
Thanks,
— C

Re: Drill TYPE functions

Posted by Paul Rogers <pa...@yahoo.com.INVALID>.
Those I know of are in org.apache.drill.exec.expr.fn.impl.UnionFunctions:

compareType
typeOf
sqlTypeOf
drillTypeOf
modeOf
isnotnull
isnull


Thanks,
- Paul

 

    On Thursday, July 19, 2018, 7:08:25 AM PDT, Charles Givre <cg...@gmail.com> wrote:  
 
 Hello all, 
Is there a list somewhere of all the Drill type functions? 
Thanks,
— C  

Re: Drill TYPE functions

Posted by Vitalii Diravka <vi...@gmail.com>.
Charles,

In code you can set break point in *FunctionImplementationRegistry* and run
any test case with query.
You can find all build-in functions in *localFunctionRegistry. *Other Drill
type functions are placed in
* remoteFunctionRegistry.*Non-Drill functions are stored in
*pluggableFuncRegistries
*(such as Hive UDF)

Kind regards
Vitalii


On Thu, Jul 19, 2018 at 5:08 PM Charles Givre <cg...@gmail.com> wrote:

> Hello all,
> Is there a list somewhere of all the Drill type functions?
> Thanks,
> — C