-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
sql/json: fix null's in array in inverted index support #101059
Conversation
We assumed all the array elements were strings w/o checking for null, now we use AsDString to check it. Found internally with expanded sqlsmith testing. Fixes: cockroachdb#101025 Epic: None Release note: None
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add backport labels.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @cucaroach)
bors r=yuzefovich |
Build failed (retrying...): |
Build succeeded: |
In the future, don't forget to add release note for bug fixes. |
My bad! I didn't think it rose to the level of needing a release note since it was found internally and kind of an edge case, I guess fixing a source of internal errors is always worthy of a release note? |
I figure it's nice to have a release note in case a user stumbles into this in the future (if they are running an older release) - it might make it easier to find and figure out what they need to upgrade to. |
We assumed all the array elements were strings w/o checking for null,
now we use AsDString to check it.
Found internally with expanded sqlsmith testing.
Fixes: #101025
Epic: None
Release note: None