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

Move TFDV stats to higher-numbered protobuf fields #669

Merged

Conversation

ches
Copy link
Member

@ches ches commented May 1, 2020

What this PR does / why we need it:

See #667—the motivation is reserving the lower-numbered fields for optimal encoding. Might be a premature optimization given FeatureSpec is not a high-throughput message, but the cost of change is practically nothing.

Which issue(s) this PR fixes:

Fixes #667

References #536 where the labels field number has changed from 19 to 16. Could just keep it at 19, but meh, unless anyone chimes in that they run Feast master in production and started using this since it was merged yesterday 😇

Does this PR introduce a user-facing change?:

Since there has been no Feast release with these new fields yet, renumbering is not breaking.

NONE

Acknowledgments

I would like to thank Vim, 27<C-a> and the . operator for assistance in this difficult task.

Within the Feast v0.5 release cycle these fields have not been in a
release yet, so it's safe to renumber them.

The motivation is reserving the lower-numbered fields for optimal
encoding, referenced in the patch.

Closes feast-dev#667
@ches
Copy link
Member Author

ches commented May 1, 2020

/assign @khorshuheng

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ches, woop

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@woop
Copy link
Member

woop commented May 1, 2020

/lgtm

@feast-ci-bot feast-ci-bot merged commit e014733 into feast-dev:master May 1, 2020
@ches ches deleted the 667-move-TFDV-fields-in-FeatureSpec branch May 1, 2020 07:59
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.

Move TFDV stats fields on FeatureSpec proto to higher-numbered fields
4 participants