You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by GitBox <gi...@apache.org> on 2022/09/02 22:35:31 UTC

[GitHub] [orc] dongjoon-hyun commented on pull request #415: ORC-529: Allow configuration and table properties to control encryption.

dongjoon-hyun commented on PR #415:
URL: https://github.com/apache/orc/pull/415#issuecomment-1235946743

   I didn't tried it in Hive, but Apache ORC provides a document for Apache Spark.
   - https://orc.apache.org/docs/spark-config.html
   ```sql
   CREATE TABLE encrypted (
     ssn STRING,
     email STRING,
     name STRING
   )
   USING ORC
   OPTIONS (
     hadoop.security.key.provider.path "kms://http@localhost:9600/kms",
     orc.key.provider "hadoop",
     orc.encrypt "pii:ssn,email",
     orc.mask "nullify:ssn;sha256:email"
   )
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org