siddiquebagwan commented on PR #2639:
URL: https://github.com/apache/iceberg/pull/2639#issuecomment-2639928302

   Hi @ggershinsky 
   I am looking to use parquet column level encryption in Apache IceBerg. 
   I have set below properties in spark.config but still encryption is not 
working 
   
   Here is my config code: 
   
   spark = SparkSession.builder \
       .appName("ParquetColumnEncryption") \
       .config("spark.hadoop.parquet.encryption.key.list", 
"key1:AAECAwQFBgcICQoLDA0ODw==,key2:AAECAwQFBgcICQoLDA0ODw==") \
       .config("spark.hadoop.parquet.encryption.kms.client.class", 
"org.apache.parquet.crypto.keytools.mocks.InMemoryKMS") \
       .config("spark.hadoop.parquet.crypto.factory.class", 
"org.apache.parquet.crypto.keytools.PropertiesDrivenCryptoFactory") \
       .config("spark.jars", 
"/home/foo/spark-env/jars/parquet-hadoop-1.13.1-tests.jar") \
       .config("spark.hadoop.parquet.encryption.plaintext.footer", "true") \
       .getOrCreate()
   


-- 
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-unsubscr...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to