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

Arnab Karmakar commented on IMPALA-13552:
-----------------------------------------

1. As per the feedback from [~xuebinsu] and [~csringhofer], this patch will add 
*TYPE_ARRAY* and *TYPE_MAP* enum members to the *FunctionContext::Type* enum in 
the public UDF API.
2. These enum values are appended at the end to maintain ABI compatibility with 
existing compiled UDFs.
3. Future work IMPALA-9519 will expose safe public API for user UDFs 
(*CollectionVal* have to be made public)

> size()/length() function for array/map types
> --------------------------------------------
>
>                 Key: IMPALA-13552
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13552
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Backend, Frontend
>            Reporter: Quanlong Huang
>            Assignee: Arnab Karmakar
>            Priority: Critical
>
> Hive has a size() function to calculate the length of array/map values. We 
> need a similar one to collect stats of array/map columns. length() can be 
> defined as an alias to this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to