dongjoon-hyun commented on issue #1050: URL: https://github.com/apache/orc/issues/1050#issuecomment-1057175795
Did you check Apache ORC webpage about Spark Configuration, @liujinhui1994 ? The encryption option should be provided in the same way during writing and reading. So, we prefer to put it to the table properties. - https://orc.apache.org/docs/spark-config.html ``` 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]
