You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "chong chow (Jira)" <ji...@apache.org> on 2019/12/18 08:41:00 UTC

[jira] [Commented] (ORC-582) column encrpytion did not work on partition table

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

chong chow commented on ORC-582:
--------------------------------

hi , @[~omalley]  have you test the column encryption in partition table ?

i test this feature followed your tutorial.

 

best regards

> column encrpytion did not work on partition table 
> --------------------------------------------------
>
>                 Key: ORC-582
>                 URL: https://issues.apache.org/jira/browse/ORC-582
>             Project: ORC
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 1.6.0, 1.6.1, 1.6.2
>            Reporter: chong chow
>            Priority: Major
>
> i have integrate the column encryption feature to our spark cluster.
> when i test in non-partition table ,it works well.
> but i test in partition table, it seems column encryption not work.
> i test in these steps:
>  * create a non-partition table A with tblproperties("orc.encrypt"="key:columnName")
>  * insert into table A select * form originTable, this step work well
>  * shut down the kms service 
>  * insert into table select * form originTable, then will throw a exception about kms service
>  * create a partition table B with tblproperties("orc.encrypt"="key:columnName")
>  * insert into table B select * form originTable, this step work well
>  * shut down the kms service
>  * insert into table select * form originTable, this step also work well
>  * i take a look at the file in hdfs,  the file of table A has key info , but the file of table B has no key info 



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