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

fix(json_parse): Clear state after encountering an error #12150

Closed
wants to merge 1 commit into from

Conversation

kgpai
Copy link
Contributor

@kgpai kgpai commented Jan 23, 2025

Summary: json_parse if it encounters an error and throws in a sensitive part of the code , doesnt clear out its previous state when processing the next row. This can cause it to throw when processing the next valid row.

Differential Revision: D68534578

@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 Jan 23, 2025
Copy link

netlify bot commented Jan 23, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 5f34ab9
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/6792804b1e9efe00086239e2

@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@amitkdutta amitkdutta left a comment

Choose a reason for hiding this comment

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

Thanks @kgpai

…ubator#12150)

Summary:

`json_parse` if it encounters an error and throws in a sensitive part of the code , doesnt clear out its previous state when processing the next row. This can cause it to throw when processing the next valid row.

Reviewed By: xiaoxmeng, amitkdutta

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f910bb1.

Copy link

Conbench analyzed the 0 benchmark runs that triggered this notification.

None of the specified runs were found on the Conbench server.

The full Conbench report has more details.

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