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

Add isObject() checking before calling HasMember, this fixes #7 #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DeanThompson
Copy link

@DeanThompson DeanThompson commented Aug 13, 2021

Add isObject() checking before calling HasMember, this fixes #7

Tianqing Peng and others added 2 commits August 13, 2021 12:25
	Parsing a json like `{"project":"yes"}` with "$.project.yes.no"
        would case `isObject` assertion fail, throwing an exception,
	thus might break the impala cluster.
Fix:
	Add `isObject()` checking, which is a pre-condition before calling `HasMember(key)`
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.

Nested JSON breaks connection to impala
1 participant