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

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

Commit c1244c2f04e629cc07b0830a597c70317be92768 in impala's branch 
refs/heads/master from stiga-huang
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=c1244c2 ]

IMPALA-9152: Clear row filter policies before testColumnMaskEnabled

When checking privilege requests, we put table level request before
column level requests in the request list. If a table has both row
filter policy and column masking policies, the error message will be row
filtering not supported. So we need to clear any existing row filter
policies in AuthorizationStmtTest#testColumnMaskEnabled().

Test:
Manually create some row filter policies and run testColumnMaskEnabled
successfully.

Change-Id: Ic77fc7480e1b8bc8abcc3968f11ee148c1f02c0f
Reviewed-on: http://gerrit.cloudera.org:8080/14734
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> AuthorizationStmtTest.testColumnMaskEnabled failed in precommits.
> -----------------------------------------------------------------
>
>                 Key: IMPALA-9152
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9152
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Anurag Mantripragada
>            Assignee: Quanlong Huang
>            Priority: Major
>
> [~stigahuang] since you are going to work on this stuff, assigning it to you. 
> Please feel free to reassign it. Thank you!
> Encountered here:
> [https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/8738]
> Looks like the test was expecting column masking error but encountered row 
> filtering error.
> {code:java}
> got error:
> Impala does not support row filtering yet. Row filtering is enabled on table: 
> functional.alltypes_view
> expected:
> Impala does not support column masking yet. Column masking is enabled on 
> column: functional.alltypes_view.string_col {code}



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

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

Reply via email to