Skip to content

Support Iceberg branching for all the snapshot producer operations #3896

Closed as not planned

Description

@jackye1995

With the introduction of branching, we can produce snapshots to a specific branch like the following:

table.newAppend()
    .appendFile(someFile)
    .branch("some_branch")
    .commit();

Activity

  1. flyrain commented on Jan 13, 2022

    @flyrain
    Contributor

    I guess people can use branches for testing new changes without impact the trunk. The trunk should still be there for any read in that case. Would you mind share any solid use cases? Like in which scenario this would be pretty useful?

  2. jackye1995 commented on Jan 13, 2022

    @jackye1995
    ContributorAuthor

    I guess people can use branches for testing new changes without impact the trunk

    yes that is one primary use case. Another one is for a separated branch that maintains a historical snapshot. A compacted version could be updated to the branch for optimized read performance.

  3. flyrain commented on Jan 13, 2022

    @flyrain
    Contributor

    Do you mean "a compact version could be updated to the trunk for optimized read"? Make sense to me.

  4. RussellSpitzer commented on Jan 13, 2022

    @RussellSpitzer
    Member
  5. flyrain commented on Jan 14, 2022

    @flyrain
    Contributor

    IIRC, we got a discussion on this, the verdict is not to support merging a branch into the trunk.

  6. amogh-jahagirdar commented on Feb 3, 2022

    @amogh-jahagirdar
    Contributor

    There is also some more clarity with what it could look like based on the discussion in #3883 (in particular #3883 (comment)). @jackye1995 I am happy to take this issue if possible!

  7. namrathamyske commented on Jun 1, 2022

    @namrathamyske
    Contributor

    @jackye1995 @amogh-jahagirdar I have been working working on the above issue and have a raised a PR for same. Any comments or suggestions appreciated. PR is: #4926

  8. SreeramGarlapati commented on Jun 1, 2022

    @SreeramGarlapati
    Collaborator

    I guess people can use branches for testing new changes without impact the trunk

    yes that is one primary use case. Another one is for a separated branch that maintains a historical snapshot. A compacted version could be updated to the branch for optimized read performance.

    Another very common usecase is a separate branch - that maintains a gdpr compliant snapshot.

  9. namrathamyske commented on Jun 20, 2022

    @namrathamyske
    Contributor

    @jackye1995 I have started PR : #4926, #5010 wrt to this issue. Would like to take this forward.

  10. sungwy commented on Jul 15, 2023

    @sungwy
    Contributor

    Hi folks, I see this PR was merged to enable support for writing to branches with table identifiers in Spark 3.3. #6965

    Do we need to go through a separate effort to backport it to Spark 3.2, and is it possible to backport to 3.2? (Are there any Spark features that are only available in 3.3 that's required for introducing custom table identifiers?)

  11. github-actions commented on Aug 7, 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.

  12. github-actions commented on Aug 22, 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

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions