You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2016/04/12 02:03:25 UTC

[jira] [Commented] (HIVE-13486) Cast the column type for column masking

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

Pengcheng Xiong commented on HIVE-13486:
----------------------------------------

[~ashutoshc], could u plz take a look? Thanks.

> Cast the column type for column masking
> ---------------------------------------
>
>                 Key: HIVE-13486
>                 URL: https://issues.apache.org/jira/browse/HIVE-13486
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Security
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>             Fix For: 2.1.0
>
>         Attachments: HIVE-13486.01.patch
>
>
> Quoted from [~jdere] "in the case that getCellValueTransformer() returns a constant value (such as "NULL" to indicate the expression should be null), the resulting data type for that column ends up becoming the constant value NULL, which is different from the original column's type. Might want to add a type check somewhere to make sure the transformed expression and original expression match, or maybe wrap the transformed expression within a CAST to get the types to match."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)