hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13486) Cast the column type for column masking
Date Wed, 13 Apr 2016 20:03:25 GMT

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

Hive QA commented on HIVE-13486:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12798151/HIVE-13486.01.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 9974 tests executed
*Failed tests:*
{noformat}
TestJdbcWithMiniHS2 - did not produce a TEST-*.xml file
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_index_bitmap3
org.apache.hadoop.hive.metastore.TestHiveMetaStorePartitionSpecs.testGetPartitionSpecs_WithAndWithoutPartitionGrouping
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/7575/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/7575/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-7575/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 3 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12798151 - PreCommit-HIVE-TRUNK-Build

> 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)

Mime
View raw message