GitHub user petercdc opened a pull request:
https://github.com/apache/phoenix/pull/101
PHOENIX-1661 Implement built-in functions for JSON
1.Adding following JSON operators:
JSON get data Operator : "->" "->>" "#>" "#>>"
JSON Boolean Operactor : "?" "?|" "?&" "<@" "@>"
2.add a unit test file: JSONOperationT.java
3.Adding functions for some JSON operators in PhoenixJson.java
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/petercdc/phoenix jsoncdc
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/phoenix/pull/101.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #101
----
commit a131aa3664d18a048a41b0dab9155d90b17103f5
Author: LiChiachi <[email protected]>
Date: 2015-07-01T10:55:39Z
rebase from json brance (but just recreate new branch base on json
branch)
fixed:
All ParseNode and Visiter , All ExpressionVisiter , PhoenixJson method
to be used for Expression method
Not fixed yet:
Expression method exclusive JsonPonit Operator
commit 8babfb5fba20d24a1c65b02fdd13075b0632d4fc
Author: LiChiachi <[email protected]>
Date: 2015-07-02T08:48:36Z
rebase on json branch (but create new branch base on json branch)
fixed:
All ParseNode and All ExpressionNode exclusive Superset and Subset
not fixed yet:
Type Checking for As Element Node , Superset and Subset Node
commit 077d5f41da0c22bcafd9387df90c60ea0be659ed
Author: LiChiachi <[email protected]>
Date: 2015-07-06T09:56:47Z
rebase on json branch (but recreate new branch based on json branch)
fixed:
All ParseNode and ExpressionNode are done
not fixed yet:
TypeChecking for Skipping checking type on JsongetElementExpression
commit 5b8a43e09202b04e3371ff8cfd8451b68baa2759
Author: LiChiachi <[email protected]>
Date: 2015-07-10T01:52:53Z
rebase on json branch (but recreate new branch based on json branch)
fix bug wronging with superset and subset node
commit 7793e94cf27d4057b633b7c67234f6e451d5577c
Author: Andy <[email protected]>
Date: 2015-07-11T09:37:09Z
First Version
commit 229939099154042af98b24839cfb483624400fb0
Author: Andy <[email protected]>
Date: 2015-07-11T11:15:14Z
fix type checking bug
commit ff7e9edd126b65796a41d5bf8e567d50729e3989
Author: Andy <[email protected]>
Date: 2015-07-11T14:30:56Z
add Apache license
commit fd4604cbb799600a87da0647671e8dbad6a8c6a7
Author: Andy <[email protected]>
Date: 2015-07-13T12:22:08Z
fix some expressions bugs
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---