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

sql: fix semantics of JSON ? operator on strings #35005

Merged
merged 1 commit into from
Feb 23, 2019

Conversation

justinj
Copy link
Contributor

@justinj justinj commented Feb 15, 2019

Fixes #35001.

Release note (sql change): The semantics of the JSON '?' operator when
applied to JSON strings has been changed to match Postgres. Now, a JSON
string '?'s a string when the two are equal.

@justinj justinj requested review from jordanlewis, knz and a team February 15, 2019 19:31
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@jordanlewis jordanlewis left a comment

Choose a reason for hiding this comment

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

:lgtm: :shipit:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @jordanlewis and @knz)

Fixes cockroachdb#35001.

Release note (sql change): The semantics of the JSON '?' operator when
applied to JSON strings has been changed to match Postgres. Now, a JSON
string '?'s a string when the two are equal.
@justinj
Copy link
Contributor Author

justinj commented Feb 23, 2019

Thanks for the reviews!

bors r+

@craig
Copy link
Contributor

craig bot commented Feb 23, 2019

👎 Rejected by PR status

@justinj
Copy link
Contributor Author

justinj commented Feb 23, 2019

tryin again

bors r+

craig bot pushed a commit that referenced this pull request Feb 23, 2019
35005: sql: fix semantics of JSON ? operator on strings r=justinj a=justinj

Fixes #35001.

Release note (sql change): The semantics of the JSON '?' operator when
applied to JSON strings has been changed to match Postgres. Now, a JSON
string '?'s a string when the two are equal.

Co-authored-by: Justin Jaffray <[email protected]>
@craig
Copy link
Contributor

craig bot commented Feb 23, 2019

Build succeeded

@craig craig bot merged commit 6b4e33d into cockroachdb:master Feb 23, 2019
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.

4 participants