Skip to content

Prevent throwing RuntimeException when invalid proto is received#166

Merged
feast-ci-bot merged 1 commit into
feast-dev:masterfrom
pradithya:proto_error
Mar 29, 2019
Merged

Prevent throwing RuntimeException when invalid proto is received#166
feast-ci-bot merged 1 commit into
feast-dev:masterfrom
pradithya:proto_error

Conversation

@pradithya
Copy link
Copy Markdown
Collaborator

Follow up to fix #163

@zhilingc
Copy link
Copy Markdown
Collaborator

/lgtm

.print(rowExtended));
} catch (InvalidProtocolBufferException e) {
return KV.of(
rowExtended.getRow().getEntityName(),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Are we assuming that rowExtended.getRow().getEntityName() was not the cause of the exception?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, at worst, that line will return empty string.

@thirteen37
Copy link
Copy Markdown
Collaborator

/approve

1 similar comment
@pradithya
Copy link
Copy Markdown
Collaborator Author

/approve

@feast-ci-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pradithya, thirteen37

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

The pull request process is described here

Details 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

@feast-ci-bot feast-ci-bot merged commit a0111bb into feast-dev:master Mar 29, 2019
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.

Ingestion retrying an invalid FeatureRow endlessly

4 participants