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 "Quanlong Huang (Jira)" <ji...@apache.org> on 2021/03/27 10:45:00 UTC

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

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

Quanlong Huang resolved IMPALA-10388.
-------------------------------------
    Fix Version/s: Impala 4.0
       Resolution: Fixed

> 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
>             Fix For: Impala 4.0
>
>
> 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