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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to