Skip to content

[BEAM-4076] Remove unsafe methods from Schema.TypeName and Schema.FieldType#5498

Merged
kennknowles merged 2 commits intoapache:masterfrom
kennknowles:no-more-type
May 31, 2018
Merged

[BEAM-4076] Remove unsafe methods from Schema.TypeName and Schema.FieldType#5498
kennknowles merged 2 commits intoapache:masterfrom
kennknowles:no-more-type

Conversation

@kennknowles
Copy link
Member

The methods TypeName.type() and FieldType.withMapType() etc all refer to various operations on types and type constructors that are not well-defined for a lot of inputs. Since these methods are also not needed, this PR deletes them.

This is stacked on #5497


Follow this checklist to help us incorporate your contribution quickly and easily:

  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

@kennknowles
Copy link
Member Author

R: @akedin

Last in the trilogy.

Copy link
Contributor

@akedin akedin left a comment

Choose a reason for hiding this comment

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

LGTM

@kennknowles kennknowles merged commit d506e1e into apache:master May 31, 2018
@kennknowles kennknowles deleted the no-more-type branch July 3, 2018 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants