[ 
https://issues.apache.org/jira/browse/DRILL-927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jinfeng Ni updated DRILL-927:
-----------------------------

    Attachment: DRILL-927.2.patch

> Run-time code generation support when a function parameter is complex nested 
> type.
> ----------------------------------------------------------------------------------
>
>                 Key: DRILL-927
>                 URL: https://issues.apache.org/jira/browse/DRILL-927
>             Project: Apache Drill
>          Issue Type: New Feature
>            Reporter: Jinfeng Ni
>            Assignee: Jinfeng Ni
>         Attachments: DRILL-927.2.patch
>
>
> In this JIRA, we will enhance the run-time code generation component, in the 
> following ways:
> 1. Allow generate the run-time code for function whose parameter is 
> FieldReader.  A parameter FieldReader could match an argument of Repeated 
> List, Repeated Map, or an element in Repeated List/map, or any nested complex 
> type.
> 2. In addition, FieldReader will also match any singular value, such as int, 
> float4, varchar. 
> With this support enabled,  one could implement a function with parameter 
> FieldReader to match any simple or complex nested type.
> As an example of how to leverage this new code generation logic, we add a new 
> function "convert_toJson", which will convert any simple or complex type into 
> a string in json format. 
>     @Param FieldReader input;
>     @Output VarBinaryHolder out;



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to