Skip to content

Support Parquet modular encryption #1413

Closed as not planned
Closed as not planned

Description

@aokolnychyi

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.

Activity

  1. aokolnychyi commented on Sep 1, 2020

    @aokolnychyi
    ContributorAuthor

    Actually, we may not need anything. One moment.

  2. aokolnychyi commented on Sep 1, 2020

    @aokolnychyi
    ContributorAuthor

    I think we can try to leverage DecryptionPropertiesFactory in Parquet.

  3. shangxinli commented on Oct 22, 2020

    @shangxinli
    Contributor

    EncryptionPropertiesFactory/DecryptionPropertiesFactory help you build up the FileEncryptionProperties/FileDecryptionProperties. There is an open PR(apache/parquet-java#808) about how to use them.

  4. ggershinsky commented on Mar 14, 2021

    @ggershinsky
    Contributor

    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.

  5. shangxinli commented on Mar 16, 2021

    @shangxinli
    Contributor

    Sounds good @ggershinsky! Look forward to reviewing your changes!

  6. ggershinsky commented on Mar 16, 2021

    @ggershinsky
    Contributor

    Cool, I'll send them in a pr (after the parquet-mr-1.12 artifact is released; CI checks won't pass otherwise).

  7. github-actions commented on Feb 21, 2024

    @github-actions

    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.

  8. github-actions commented on Mar 6, 2024

    @github-actions

    This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions