[
https://issues.apache.org/jira/browse/DERBY-6825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Hillegas updated DERBY-6825:
---------------------------------
Attachment: derby-6825-04-aa-grantPrivileges.diff
Attaching derby-6825-04-aa-grantPrivileges.diff. This patch makes the
simpleJson tool grant public privileges on the schema objects it creates. That,
in turn, allows all users to exercise this functionality in databases which
have SQL authorization enabled.
I am running the full test suite now.
Touches the following files:
-------------------------
M
java/build/org/apache/derbyBuild/lastgoodjarcontents/insane.derbyoptionaltools.jar.lastcontents
M
java/build/org/apache/derbyBuild/lastgoodjarcontents/sane.derbyTesting.jar.lastcontents
M
java/build/org/apache/derbyBuild/lastgoodjarcontents/insane.derbyTesting.jar.lastcontents
M
java/build/org/apache/derbyBuild/lastgoodjarcontents/sane.derbyoptionaltools.jar.lastcontents
Jardriftcheck boilerplate for the new classes which have been added.
-------------------------
A java/optional/org/apache/derby/optional/utils
A java/optional/org/apache/derby/optional/utils/ToolUtilities.java
M java/optional/org/apache/derby/optional/api/LuceneUtils.java
M java/optional/org/apache/derby/optional/lucene/DerbyLuceneDir.java
M java/optional/org/apache/derby/optional/lucene/LuceneQueryVTI.java
M java/optional/org/apache/derby/optional/lucene/LuceneSupport.java
M java/optional/org/apache/derby/optional/lucene/LuceneListIndexesVTI.java
M java/optional/org/apache/derby/optional/api/SimpleJsonUtils.java
M java/optional/org/apache/derby/optional/api/SimpleJsonVTI.java
Moves some utility functions out of the Lucene optional tool and into a
ToolUtilities class. That lets other optional tools use these functions.
Removes redundant copies of these utility functions.
-------------------------
M java/optional/org/apache/derby/optional/json/SimpleJsonTool.java
Grant public USAGE privilege on the JSONArray udt. Grant public EXECUTE
privilege on the readArrayFromString(), readArrayFromFile(), and
readArrayFromURL() functions.
-------------------------
M
java/testing/org/apache/derbyTesting/functionTests/tests/lang/JsonSuite.java
A
java/testing/org/apache/derbyTesting/functionTests/tests/lang/SimpleJsonPermsTest.java
> Add basic JSON support to Derby.
> --------------------------------
>
> Key: DERBY-6825
> URL: https://issues.apache.org/jira/browse/DERBY-6825
> Project: Derby
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 10.12.0.0
> Reporter: Rick Hillegas
> Assignee: Rick Hillegas
> Attachments: SimpleJsonVTI.java, derby-6825-01-aa-optionalTool.diff,
> derby-6825-01-ab-optionalTool.diff, derby-6825-02-aa-vti.diff,
> derby-6825-03-aa-datatypeTests.diff, derby-6825-04-aa-grantPrivileges.diff
>
>
> Other database are adding support for the popular JSON data interchange
> format defined by https://www.ietf.org/rfc/rfc4627.txt. We could add a VTI to
> Derby which would unpack a JSON document into a set of rows. We could also
> add a reverse transformation, which turns a query result into a JSON document.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)