You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/01/07 02:16:00 UTC

[jira] [Commented] (IMPALA-10388) Document the limitation on mask functions

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

ASF subversion and git services commented on IMPALA-10388:
----------------------------------------------------------

Commit 0c7e5a4a7c27167d4f0f24f19895e63946afd752 in impala's branch refs/heads/master from Shajini Thayasingh
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=0c7e5a4 ]

IMPALA-10388: [DOCS] add limitations on mask functions

incorporated comments, removed the para as per the feedback
listed all the overloads that are introduced
stated that Impala does not yet support new Hive UDFs
called out how mask functions were introduced through overloads

Change-Id: I37f0bcf4cf586cc5cfd03e4df68443967b6bb88f
Reviewed-on: http://gerrit.cloudera.org:8080/16861
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Quanlong Huang <hu...@gmail.com>


> Document the limitation on mask functions
> -----------------------------------------
>
>                 Key: IMPALA-10388
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10388
>             Project: IMPALA
>          Issue Type: Documentation
>          Components: Docs
>            Reporter: Quanlong Huang
>            Assignee: shajini thayasingh
>            Priority: Major
>
> Hive's mask functions are GenericUDFs. Impala currently doesn't support Hive GenericUDFs, so we have our builtin implementation for them. Due to lack of a corresponding framework for GenericUDF in Impala (IMPALA-9271), we implement these mask functions by overloads. However, it may requires hundreds of overloads to cover all possible combinations. We just implement some important overloads, including
>  * those used by Ranger default masking policies,
>  * those with simple arguments and may be useful for users,
>  * an overload with all arguments in int type for full functionality. Char argument need to be converted to their ASCII value.
> If you encountered errors like "No matching function with signature: mask...", it means Impala is lack of the corresponding overload. Use the following query to find the available overloads:
> {code:sql}
> show functions in _impala_builtins like "mask*";
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org