-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#162) Add support in docdb to correctly evaluate json operators.
Summary: This diff adds support at the docdb level to correctly evaluate the '->' and '->>' json operators on json columns. Currently, these operators are only supported in the WHERE clause which helps in filtering out data based on the internal structure of the json data stored in a column. The only operator that works reliably right now is equality, since operators like >, < etc. would typically need integer casts. Test Plan: unit tests. Reviewers: mihnea, neil, robert Reviewed By: robert Subscribers: yql Differential Revision: https://phabricator.dev.yugabyte.com/D4646
- Loading branch information
1 parent
0bf5007
commit 68296cb
Showing
20 changed files
with
737 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -238,6 +238,7 @@ set(UTIL_LIBS | |
histogram_proto | ||
pb_util_proto | ||
protobuf | ||
ql_protocol_proto | ||
version_info_proto | ||
zlib) | ||
|
||
|
Oops, something went wrong.