You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would need to design an API for users to put their logic for managing keys to support modular encryption in Parquet. Also, we would need to propagate the encryption config to Parquet read and write options in Parquet.
EncryptionPropertiesFactory/DecryptionPropertiesFactory help you build up the FileEncryptionProperties/FileDecryptionProperties. There is an open PR(apache/parquet-java#808) about how to use them.
Hi @shangxinli , I guess you are using a custom Parquet integration code. The way Iceberg calls the Parquet APIs today (in the master branch), doesn't allow for transparent activation of Parquet encryption via crypto factories. I had to make some code modifications in both writer and reader parts in order to have Iceberg create/query data tables with encrypted Parquet files. Details TBD, but I believe they are not very important; this might be split into two phases - a near-term, that integrates the current Iceberg with Parquet encryption (one way or another), and a longer-term, that will depend on the progress of a bigger subject of the future approach to a general Iceberg/Parquet integration.
As a side note - all this is about the basic mechanics of the Iceberg/PME calls. There are additional table security questions / challenges, beyond the direct scope of this subject.
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
Activity
aokolnychyi commentedon Sep 1, 2020
Actually, we may not need anything. One moment.
aokolnychyi commentedon Sep 1, 2020
I think we can try to leverage DecryptionPropertiesFactory in Parquet.
shangxinli commentedon Oct 22, 2020
EncryptionPropertiesFactory/DecryptionPropertiesFactory help you build up the FileEncryptionProperties/FileDecryptionProperties. There is an open PR(apache/parquet-java#808) about how to use them.
ggershinsky commentedon Mar 14, 2021
Hi @shangxinli , I guess you are using a custom Parquet integration code. The way Iceberg calls the Parquet APIs today (in the master branch), doesn't allow for transparent activation of Parquet encryption via crypto factories. I had to make some code modifications in both writer and reader parts in order to have Iceberg create/query data tables with encrypted Parquet files. Details TBD, but I believe they are not very important; this might be split into two phases - a near-term, that integrates the current Iceberg with Parquet encryption (one way or another), and a longer-term, that will depend on the progress of a bigger subject of the future approach to a general Iceberg/Parquet integration.
As a side note - all this is about the basic mechanics of the Iceberg/PME calls. There are additional table security questions / challenges, beyond the direct scope of this subject.
shangxinli commentedon Mar 16, 2021
Sounds good @ggershinsky! Look forward to reviewing your changes!
ggershinsky commentedon Mar 16, 2021
Cool, I'll send them in a pr (after the parquet-mr-1.12 artifact is released; CI checks won't pass otherwise).
github-actions commentedon Feb 21, 2024
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
github-actions commentedon Mar 6, 2024
This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'