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

Relax column count check in PrestoSerializer #7524

Closed

Conversation

mbasmanova
Copy link
Contributor

Summary:
Some call sites deserialize only a subset of columns. Relax the check to avoid
breaking these. Investigate and fix these call sites, then restore the check as
a follow-up.

Differential Revision: D51230660

Copy link

netlify bot commented Nov 11, 2023

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 0b3bd40
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/6552603b54fec500082eb42e

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 11, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51230660

Copy link
Contributor

@xiaoxmeng xiaoxmeng left a comment

Choose a reason for hiding this comment

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

@mbasmanova LGTM. Is it possible to add a unit test to catch this behavior? Thanks!

Summary:
Add test to verify error messages when RowType used to serialized data
doesn't match the RowType used to deserialize.

Also, make these failure user errors.


Reviewed By: xiaoxmeng

Differential Revision: D51256840

Pulled By: mbasmanova
Summary:

Some call sites deserialize only a subset of columns. Relax the check to avoid
breaking these. Investigate and fix these call sites, then restore the check as
a follow-up.

Reviewed By: xiaoxmeng

Differential Revision: D51230660
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51230660

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in b417572.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants