Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spark 3.3 read by snapshot ref schema #6717

Merged
merged 11 commits into from
Feb 22, 2023

Conversation

namrathamyske
Copy link
Contributor

@namrathamyske namrathamyske commented Feb 1, 2023

In PR #5150 we introduced read from branch or tag. There is a bug where we cannot read the snapshot specific schema changes when doing

spark.read().option("branch", <branch_name>). The fix in this PR is applied similar to #3722

Still yet to add support for tag. If given a heads up for branch, will go ahead with tag
cc @jackieo168

@rdblue @jackye1995 @amogh-jahagirdar @wypoon Let me know what you think

@github-actions github-actions bot added the spark label Feb 1, 2023
@namrathamyske namrathamyske changed the title spark 3.3 read by snapshot ref bug fix for schema change spark 3.3 read by snapshot ref schema Feb 1, 2023
@namrathamyske namrathamyske marked this pull request as ready for review February 1, 2023 06:44
@amogh-jahagirdar
Copy link
Contributor

Thanks for the fix @namrathamyske ! left some comments

@namrathamyske
Copy link
Contributor Author

Thanks @jackieo168 for coming up with this!

@jackye1995 jackye1995 self-requested a review February 6, 2023 17:45
@jackye1995
Copy link
Contributor

@aokolnychyi you might be also interested in this because #6651 depends on this

@namrathamyske
Copy link
Contributor Author

@aokolnychyi can you take a look at this ?

Copy link
Contributor

@jackye1995 jackye1995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

Copy link
Contributor

@amogh-jahagirdar amogh-jahagirdar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some nits overall LGTM

@jackye1995 jackye1995 added this to the Iceberg 1.2.0 milestone Feb 21, 2023
@aokolnychyi
Copy link
Contributor

I should be able to review this one today as well.

Copy link
Contributor

@rdblue rdblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw a couple of nits, but overall I think this is good to go.

@jackye1995
Copy link
Contributor

I just asked for permission to push to this branch, addressing the comments

Copy link
Contributor

@amogh-jahagirdar amogh-jahagirdar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing the nits @jackye1995 , overall this looks good to be merged from my side

@aokolnychyi
Copy link
Contributor

A few minor nits and should be good to go. Thanks everyone!

@aokolnychyi aokolnychyi merged commit ce0d075 into apache:master Feb 22, 2023
@aokolnychyi
Copy link
Contributor

aokolnychyi commented Feb 22, 2023

Thanks, @namrathamyske and @jackye1995! Thanks for reviewing, @amogh-jahagirdar @rdblue @jackieo168!

haizhou-zhao pushed a commit to haizhou-zhao/iceberg that referenced this pull request Feb 23, 2023
krvikash pushed a commit to krvikash/iceberg that referenced this pull request Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants