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][MR]: Reuse InputFilesDecryptor #4595

Closed

Conversation

zhongyujiang
Copy link
Contributor

Reuse InputFilesDecryptor in Spark BaseDataReader and MR IcebergInputFormat to reduce code duplication.

Copy link
Contributor

@kbendick kbendick left a comment

Choose a reason for hiding this comment

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

cc @ggershinsky @RussellSpitzer @flyrain you guys are probably interested in this (particularly @ggershinsky).

@flyrain
Copy link
Contributor

flyrain commented Apr 26, 2022

LGTM. A nice refactor, which follows the same approach in #2905. Do we have any test from Spark/Hive side? Also cc @stevenzwu since he is the author of #2905.

@ggershinsky
Copy link
Contributor

Nice optimization, LGTM

@zhongyujiang
Copy link
Contributor Author

Thanks for your review and sorry for my late reply.

Do we have any test from Spark/Hive side?

This just did some small code optimizations so I didn't add the test. What kind of tests do you think should be added? @flyrain

@flyrain
Copy link
Contributor

flyrain commented Apr 29, 2022

This just did some small code optimizations so I didn't add the test. What kind of tests do you think should be added? @flyrain

It's OK to not add tests. I'm just curious that which test covers the changed code.

@zhongyujiang
Copy link
Contributor Author

I'm just curious that which test covers the changed code.

I think we don't have relevant tests cause encryption hasn't been implemented yet, only PlaintextEncryptionManager at the moment.

@flyrain
Copy link
Contributor

flyrain commented Apr 29, 2022

I think we don't have relevant tests cause encryption hasn't been implemented yet, only PlaintextEncryptionManager at the moment.

It is a bit scary, but probably is fine since we've got #2905 in.

Copy link

github-actions bot commented Aug 8, 2024

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Aug 8, 2024
Copy link

This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.

@github-actions github-actions bot closed this Aug 16, 2024
@zhongyujiang zhongyujiang deleted the reuse-inputFilesDecryptor branch December 18, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants