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

Extract FixupTypes to Iceberg from Spark #1382

Merged
merged 5 commits into from
Aug 28, 2020
Merged

Conversation

JingsongLi
Copy link
Contributor

No description provided.

*/
class FixupTypes extends TypeUtil.CustomOrderSchemaVisitor<Type> {
public abstract class FixupTypes extends TypeUtil.CustomOrderSchemaVisitor<Type> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry this class is so complicated. It's really just a Schema with partner visitor, but that pattern wasn't around when we needed to write this, so I used the custom order visitor. I should eventually go clean these up!

@rdblue
Copy link
Contributor

rdblue commented Aug 27, 2020

@JingsongLi, thanks for working on this. I think it's a good idea. The only problem is that this moves the FixupTypes class to API. I'd rather not publish that in the API module, which we maintain with stricter guarantees because it is a user-facing API (core is a developer-facing API). Can you move it to core instead?

@rdblue rdblue removed the API label Aug 28, 2020
@rdblue rdblue merged commit 87eb219 into apache:master Aug 28, 2020
@JingsongLi JingsongLi deleted the type-fixup branch November 5, 2020 09:42
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.

2 participants