[jira] [Resolved] (JENA-1643) CLEAR and DROP do not work on inference graphs over TDB.
[ https://issues.apache.org/jira/browse/JENA-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Seaborne resolved JENA-1643. - Resolution: Fixed > CLEAR and DROP do not work on inference graphs over TDB. > > > Key: JENA-1643 > URL: https://issues.apache.org/jira/browse/JENA-1643 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Major > Fix For: Jena 3.10.0 > > > [Reported by > email|https://lists.apache.org/thread.html/74e434ababc63419fe5abf141d88ea9101b8d7fc0ca7b860f400b4d9@%3Cusers.jena.apache.org%3E]. > {{BaseInfGraph}}.clear is not trigger transaction promoting in the > graph-level transaction going through {{GraphTDB.clear}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Assigned] (JENA-1644) ParameterizedSparqlString Empty List fix
[ https://issues.apache.org/jira/browse/JENA-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Seaborne reassigned JENA-1644: --- Assignee: Andy Seaborne > ParameterizedSparqlString Empty List fix > > > Key: JENA-1644 > URL: https://issues.apache.org/jira/browse/JENA-1644 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Greg Albiston >Assignee: Andy Seaborne >Priority: Minor > > ParameterizedSparqlString throws a StringIndexOutOfBoundsException when empty > list of values is provided. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (JENA-1644) ParameterizedSparqlString Empty List fix
[ https://issues.apache.org/jira/browse/JENA-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Seaborne resolved JENA-1644. - Resolution: Fixed > ParameterizedSparqlString Empty List fix > > > Key: JENA-1644 > URL: https://issues.apache.org/jira/browse/JENA-1644 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Greg Albiston >Assignee: Andy Seaborne >Priority: Minor > > ParameterizedSparqlString throws a StringIndexOutOfBoundsException when empty > list of values is provided. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] jena pull request #502: JENA-1644 ParameterizedSparqlString Empty List fix
Github user asfgit closed the pull request at: https://github.com/apache/jena/pull/502 ---
[jira] [Commented] (JENA-1643) CLEAR and DROP do not work on inference graphs over TDB.
[ https://issues.apache.org/jira/browse/JENA-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16705138#comment-16705138 ] ASF subversion and git services commented on JENA-1643: --- Commit 0efda76f1fa01976d73eaa5effc2cc6393ff3f0c in jena's branch refs/heads/master from [~an...@apache.org] [ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=0efda76 ] JENA-1643: Merge commit 'refs/pull/501/head' of https://github.com/apache/jena This closes #501. > CLEAR and DROP do not work on inference graphs over TDB. > > > Key: JENA-1643 > URL: https://issues.apache.org/jira/browse/JENA-1643 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Major > Fix For: Jena 3.10.0 > > > [Reported by > email|https://lists.apache.org/thread.html/74e434ababc63419fe5abf141d88ea9101b8d7fc0ca7b860f400b4d9@%3Cusers.jena.apache.org%3E]. > {{BaseInfGraph}}.clear is not trigger transaction promoting in the > graph-level transaction going through {{GraphTDB.clear}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (JENA-1644) ParameterizedSparqlString Empty List fix
[ https://issues.apache.org/jira/browse/JENA-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16705140#comment-16705140 ] ASF GitHub Bot commented on JENA-1644: -- Github user asfgit closed the pull request at: https://github.com/apache/jena/pull/502 > ParameterizedSparqlString Empty List fix > > > Key: JENA-1644 > URL: https://issues.apache.org/jira/browse/JENA-1644 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Greg Albiston >Priority: Minor > > ParameterizedSparqlString throws a StringIndexOutOfBoundsException when empty > list of values is provided. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (JENA-1643) CLEAR and DROP do not work on inference graphs over TDB.
[ https://issues.apache.org/jira/browse/JENA-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16705136#comment-16705136 ] ASF subversion and git services commented on JENA-1643: --- Commit 2c1b6c84b589b004aeab76099578aa0aee2bbab0 in jena's branch refs/heads/master from [~an...@apache.org] [ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=2c1b6c8 ] JENA-1643: Use transactional dataset in clear(). > CLEAR and DROP do not work on inference graphs over TDB. > > > Key: JENA-1643 > URL: https://issues.apache.org/jira/browse/JENA-1643 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Major > Fix For: Jena 3.10.0 > > > [Reported by > email|https://lists.apache.org/thread.html/74e434ababc63419fe5abf141d88ea9101b8d7fc0ca7b860f400b4d9@%3Cusers.jena.apache.org%3E]. > {{BaseInfGraph}}.clear is not trigger transaction promoting in the > graph-level transaction going through {{GraphTDB.clear}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] jena pull request #501: JENA-1643: Use transactional dataset in clear().
Github user asfgit closed the pull request at: https://github.com/apache/jena/pull/501 ---
[jira] [Commented] (JENA-1643) CLEAR and DROP do not work on inference graphs over TDB.
[ https://issues.apache.org/jira/browse/JENA-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16705139#comment-16705139 ] ASF GitHub Bot commented on JENA-1643: -- Github user asfgit closed the pull request at: https://github.com/apache/jena/pull/501 > CLEAR and DROP do not work on inference graphs over TDB. > > > Key: JENA-1643 > URL: https://issues.apache.org/jira/browse/JENA-1643 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Major > Fix For: Jena 3.10.0 > > > [Reported by > email|https://lists.apache.org/thread.html/74e434ababc63419fe5abf141d88ea9101b8d7fc0ca7b860f400b4d9@%3Cusers.jena.apache.org%3E]. > {{BaseInfGraph}}.clear is not trigger transaction promoting in the > graph-level transaction going through {{GraphTDB.clear}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (JENA-1644) ParameterizedSparqlString Empty List fix
[ https://issues.apache.org/jira/browse/JENA-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16705137#comment-16705137 ] ASF subversion and git services commented on JENA-1644: --- Commit 10ef9fc272e2729826d07f923fb1508c8c85e60c in jena's branch refs/heads/master from [~an...@apache.org] [ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=10ef9fc ] JENA-1644: Merge commit 'refs/pull/502/head' of https://github.com/apache/jena This closes #502. > ParameterizedSparqlString Empty List fix > > > Key: JENA-1644 > URL: https://issues.apache.org/jira/browse/JENA-1644 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Greg Albiston >Priority: Minor > > ParameterizedSparqlString throws a StringIndexOutOfBoundsException when empty > list of values is provided. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
Re: Toward Jena 3.10.0
how quickly can you hook geosparql into the release? this would make lucene spatial obsolete in the next release. has Greg released performance benchmarks for his implementation? as I said I will take a look at it over the weekend when time permits. On Fri, Nov 30, 2018 at 11:02 AM Andy Seaborne wrote: > We could retire jena-spatial immediately after 3.10.0 - given the Lucene > change that might be smoother, one release with updated dependencies. > > If that is the way forward, I think it is (mildly) better to take it out > of the Fuseki/Full build in 3.10.0. > > Andy > > On 29/11/2018 17:00, Marco Neumann wrote: > > I will have to look into that I guess since I am frequent user of spatial > > data. > > > > why not go to 7.5? was there an incompatibility? > > > > On Thu 29. Nov 2018 at 16:53, Andy Seaborne wrote: > > > >> Jena 3.1.0 would be around the end of the year. I'd like to make use of > >> Greg's GeoSPARQL project the "headline" item for the release and to > >> retire jena-spatial in 3.10.0 as an indication of this. > >> > >> Because retirement is a new process for the project, I'm sending this > >> first 3.10.0 message quite early to give us discussion time. > >> > >> == Retirements > >> > >> We have talked about this before but not actually done anything. See > >> separate thread for discussion on retirement process and for the first > >> modules: > >> > >> jena-spatial > >> jena-fuseki1 > >> jena-csv > >> > >> == Headlines > >> > >> JENA-664 : GeoSPARQL support > >> > >> I'd like to make use of Greg's GeoSPARQL project the "headline" item for > >> the release and to retire jena-spatial in 3.10.0 as an indication of > this. > >> > >> JENA-1621 : Lucene upgrade to 7.4 > >> May need to reload lucene indexes. > >> (e.g. the lucene index was create originally with Lucene v5.x (prior > >> Jena 3.3.0). See Lucene upgrade tool. > >> https://lucene.apache.org/solr/guide/7_4/indexupgrader-tool.html > >> > >> JENA-1623 : Fuseki security > >> JENA-1627 : HTTP support > >> https://issues.apache.org/jira/browse/JENA-1623 > >> > http://jena.staging.apache.org/documentation/fuseki2/data-access-control > >> > >> == JIRA: > >> > >> 31 currently. > >> > >> https://s.apache.org/jena-3.10.0-jira > >> > >> == Updates > >> > >> Only plugins. JENA-1624 > >> > >> surefire : 2.21.0 -> 2.22.1 (+ SUREFIRE-1588) > >> compiler : 3.7.0 -> 3.8.0 > >> shade: 3.1.0 -> 3.2.0 > >> > >> Andy > >> > -- --- Marco Neumann KONA
[jira] [Commented] (JENA-1643) CLEAR and DROP do not work on inference graphs over TDB.
[ https://issues.apache.org/jira/browse/JENA-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16704667#comment-16704667 ] ASF GitHub Bot commented on JENA-1643: -- Github user afs commented on the issue: https://github.com/apache/jena/pull/501 And review approvals? > CLEAR and DROP do not work on inference graphs over TDB. > > > Key: JENA-1643 > URL: https://issues.apache.org/jira/browse/JENA-1643 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Major > Fix For: Jena 3.10.0 > > > [Reported by > email|https://lists.apache.org/thread.html/74e434ababc63419fe5abf141d88ea9101b8d7fc0ca7b860f400b4d9@%3Cusers.jena.apache.org%3E]. > {{BaseInfGraph}}.clear is not trigger transaction promoting in the > graph-level transaction going through {{GraphTDB.clear}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] jena issue #501: JENA-1643: Use transactional dataset in clear().
Github user afs commented on the issue: https://github.com/apache/jena/pull/501 And review approvals? ---
[jira] [Commented] (JENA-1644) ParameterizedSparqlString Empty List fix
[ https://issues.apache.org/jira/browse/JENA-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16704641#comment-16704641 ] ASF GitHub Bot commented on JENA-1644: -- GitHub user galbiston reopened a pull request: https://github.com/apache/jena/pull/502 JENA-1644 ParameterizedSparqlString Empty List fix ParameterizedSparqlString now accepts an empty list of values rather than throwing a StringIndexOutOfBoundsException. You can merge this pull request into a Git repository by running: $ git pull https://github.com/galbiston/jena query-values-empty-list-fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/jena/pull/502.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 #502 commit f65e9621f7dd1f0391fd742a0da8261ead665755 Author: Greg Albiston <4662258+galbiston@...> Date: 2018-11-30T11:40:16Z ARQ:ParameterizedSparqlString - now accepts an empty list of values rather than throwing a StringIndexOutOfBoundsException. > ParameterizedSparqlString Empty List fix > > > Key: JENA-1644 > URL: https://issues.apache.org/jira/browse/JENA-1644 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Greg Albiston >Priority: Minor > > ParameterizedSparqlString throws a StringIndexOutOfBoundsException when empty > list of values is provided. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (JENA-1644) ParameterizedSparqlString Empty List fix
[ https://issues.apache.org/jira/browse/JENA-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16704639#comment-16704639 ] ASF GitHub Bot commented on JENA-1644: -- Github user galbiston closed the pull request at: https://github.com/apache/jena/pull/502 > ParameterizedSparqlString Empty List fix > > > Key: JENA-1644 > URL: https://issues.apache.org/jira/browse/JENA-1644 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Greg Albiston >Priority: Minor > > ParameterizedSparqlString throws a StringIndexOutOfBoundsException when empty > list of values is provided. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] jena pull request #502: JENA-1644 ParameterizedSparqlString Empty List fix
GitHub user galbiston reopened a pull request: https://github.com/apache/jena/pull/502 JENA-1644 ParameterizedSparqlString Empty List fix ParameterizedSparqlString now accepts an empty list of values rather than throwing a StringIndexOutOfBoundsException. You can merge this pull request into a Git repository by running: $ git pull https://github.com/galbiston/jena query-values-empty-list-fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/jena/pull/502.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 #502 commit f65e9621f7dd1f0391fd742a0da8261ead665755 Author: Greg Albiston <4662258+galbiston@...> Date: 2018-11-30T11:40:16Z ARQ:ParameterizedSparqlString - now accepts an empty list of values rather than throwing a StringIndexOutOfBoundsException. ---
[GitHub] jena pull request #502: JENA-1644 ParameterizedSparqlString Empty List fix
Github user galbiston closed the pull request at: https://github.com/apache/jena/pull/502 ---
[GitHub] jena pull request #501: JENA-1643: Use transactional dataset in clear().
Github user afs commented on a diff in the pull request: https://github.com/apache/jena/pull/501#discussion_r237839306 --- Diff: jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java --- @@ -171,7 +171,10 @@ protected final int graphBaseSize() { @Override public void clear() { -getDatasetGraphTDB().deleteAny(getGraphName(), Node.ANY, Node.ANY, Node.ANY) ; +// Logically, this is "super.clear()" except the default implementation +// is a loop that materializes nodes. We want to call the dataset directly +// so that nodes don't get materialized, just deleted from indexes. --- End diff -- Yes. ---
[jira] [Commented] (JENA-1643) CLEAR and DROP do not work on inference graphs over TDB.
[ https://issues.apache.org/jira/browse/JENA-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16704635#comment-16704635 ] ASF GitHub Bot commented on JENA-1643: -- Github user afs commented on a diff in the pull request: https://github.com/apache/jena/pull/501#discussion_r237839306 --- Diff: jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java --- @@ -171,7 +171,10 @@ protected final int graphBaseSize() { @Override public void clear() { -getDatasetGraphTDB().deleteAny(getGraphName(), Node.ANY, Node.ANY, Node.ANY) ; +// Logically, this is "super.clear()" except the default implementation +// is a loop that materializes nodes. We want to call the dataset directly +// so that nodes don't get materialized, just deleted from indexes. --- End diff -- Yes. > CLEAR and DROP do not work on inference graphs over TDB. > > > Key: JENA-1643 > URL: https://issues.apache.org/jira/browse/JENA-1643 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Major > Fix For: Jena 3.10.0 > > > [Reported by > email|https://lists.apache.org/thread.html/74e434ababc63419fe5abf141d88ea9101b8d7fc0ca7b860f400b4d9@%3Cusers.jena.apache.org%3E]. > {{BaseInfGraph}}.clear is not trigger transaction promoting in the > graph-level transaction going through {{GraphTDB.clear}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (JENA-1644) ParameterizedSparqlString Empty List fix
[ https://issues.apache.org/jira/browse/JENA-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16704632#comment-16704632 ] Greg Albiston commented on JENA-1644: - Pullrequest to fix this issue submitted on GitHub. > ParameterizedSparqlString Empty List fix > > > Key: JENA-1644 > URL: https://issues.apache.org/jira/browse/JENA-1644 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Greg Albiston >Priority: Minor > > ParameterizedSparqlString throws a StringIndexOutOfBoundsException when empty > list of values is provided. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (JENA-1644) ParameterizedSparqlString Empty List fix
[ https://issues.apache.org/jira/browse/JENA-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Greg Albiston updated JENA-1644: Description: ParameterizedSparqlString throws a StringIndexOutOfBoundsException when empty list of values is provided. (was: ParameterizedSparqlString now accepts an empty list of values rather than throwing a StringIndexOutOfBoundsException.) > ParameterizedSparqlString Empty List fix > > > Key: JENA-1644 > URL: https://issues.apache.org/jira/browse/JENA-1644 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Greg Albiston >Priority: Minor > > ParameterizedSparqlString throws a StringIndexOutOfBoundsException when empty > list of values is provided. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (JENA-1644) ParameterizedSparqlString Empty List fix
Greg Albiston created JENA-1644: --- Summary: ParameterizedSparqlString Empty List fix Key: JENA-1644 URL: https://issues.apache.org/jira/browse/JENA-1644 Project: Apache Jena Issue Type: Bug Affects Versions: Jena 3.9.0 Reporter: Greg Albiston ParameterizedSparqlString now accepts an empty list of values rather than throwing a StringIndexOutOfBoundsException. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] jena pull request #502: ParameterizedSparqlString Empty List fix
GitHub user galbiston opened a pull request: https://github.com/apache/jena/pull/502 ParameterizedSparqlString Empty List fix ParameterizedSparqlString now accepts an empty list of values rather than throwing a StringIndexOutOfBoundsException. You can merge this pull request into a Git repository by running: $ git pull https://github.com/galbiston/jena query-values-empty-list-fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/jena/pull/502.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 #502 commit f65e9621f7dd1f0391fd742a0da8261ead665755 Author: Greg Albiston <4662258+galbiston@...> Date: 2018-11-30T11:40:16Z ARQ:ParameterizedSparqlString - now accepts an empty list of values rather than throwing a StringIndexOutOfBoundsException. ---
[jira] [Commented] (JENA-1643) CLEAR and DROP do not work on inference graphs over TDB.
[ https://issues.apache.org/jira/browse/JENA-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16704608#comment-16704608 ] ASF GitHub Bot commented on JENA-1643: -- Github user ajs6f commented on a diff in the pull request: https://github.com/apache/jena/pull/501#discussion_r237830232 --- Diff: jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java --- @@ -171,7 +171,10 @@ protected final int graphBaseSize() { @Override public void clear() { -getDatasetGraphTDB().deleteAny(getGraphName(), Node.ANY, Node.ANY, Node.ANY) ; +// Logically, this is "super.clear()" except the default implementation +// is a loop that materializes nodes. We want to call the dataset directly +// so that nodes don't get materialized, just deleted from indexes. --- End diff -- @afs Just for my education, what do you mean by "materialized" here? > CLEAR and DROP do not work on inference graphs over TDB. > > > Key: JENA-1643 > URL: https://issues.apache.org/jira/browse/JENA-1643 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Major > Fix For: Jena 3.10.0 > > > [Reported by > email|https://lists.apache.org/thread.html/74e434ababc63419fe5abf141d88ea9101b8d7fc0ca7b860f400b4d9@%3Cusers.jena.apache.org%3E]. > {{BaseInfGraph}}.clear is not trigger transaction promoting in the > graph-level transaction going through {{GraphTDB.clear}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (JENA-1643) CLEAR and DROP do not work on inference graphs over TDB.
[ https://issues.apache.org/jira/browse/JENA-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16704613#comment-16704613 ] ASF GitHub Bot commented on JENA-1643: -- Github user rvesse commented on a diff in the pull request: https://github.com/apache/jena/pull/501#discussion_r237831448 --- Diff: jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java --- @@ -171,7 +171,10 @@ protected final int graphBaseSize() { @Override public void clear() { -getDatasetGraphTDB().deleteAny(getGraphName(), Node.ANY, Node.ANY, Node.ANY) ; +// Logically, this is "super.clear()" except the default implementation +// is a loop that materializes nodes. We want to call the dataset directly +// so that nodes don't get materialized, just deleted from indexes. --- End diff -- Loaded from the node table into nodes in the cache I think? > CLEAR and DROP do not work on inference graphs over TDB. > > > Key: JENA-1643 > URL: https://issues.apache.org/jira/browse/JENA-1643 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Major > Fix For: Jena 3.10.0 > > > [Reported by > email|https://lists.apache.org/thread.html/74e434ababc63419fe5abf141d88ea9101b8d7fc0ca7b860f400b4d9@%3Cusers.jena.apache.org%3E]. > {{BaseInfGraph}}.clear is not trigger transaction promoting in the > graph-level transaction going through {{GraphTDB.clear}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] jena pull request #501: JENA-1643: Use transactional dataset in clear().
Github user rvesse commented on a diff in the pull request: https://github.com/apache/jena/pull/501#discussion_r237831448 --- Diff: jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java --- @@ -171,7 +171,10 @@ protected final int graphBaseSize() { @Override public void clear() { -getDatasetGraphTDB().deleteAny(getGraphName(), Node.ANY, Node.ANY, Node.ANY) ; +// Logically, this is "super.clear()" except the default implementation +// is a loop that materializes nodes. We want to call the dataset directly +// so that nodes don't get materialized, just deleted from indexes. --- End diff -- Loaded from the node table into nodes in the cache I think? ---
[GitHub] jena pull request #501: JENA-1643: Use transactional dataset in clear().
Github user ajs6f commented on a diff in the pull request: https://github.com/apache/jena/pull/501#discussion_r237830232 --- Diff: jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java --- @@ -171,7 +171,10 @@ protected final int graphBaseSize() { @Override public void clear() { -getDatasetGraphTDB().deleteAny(getGraphName(), Node.ANY, Node.ANY, Node.ANY) ; +// Logically, this is "super.clear()" except the default implementation +// is a loop that materializes nodes. We want to call the dataset directly +// so that nodes don't get materialized, just deleted from indexes. --- End diff -- @afs Just for my education, what do you mean by "materialized" here? ---
[GitHub] jena pull request #501: JENA-1643: Use transactional dataset in clear().
GitHub user afs opened a pull request: https://github.com/apache/jena/pull/501 JENA-1643: Use transactional dataset in clear(). The fix is the one line change in method `clear()`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/afs/jena graphtdb-clear Alternatively you can review and apply these changes as the patch at: https://github.com/apache/jena/pull/501.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 #501 commit 2c1b6c84b589b004aeab76099578aa0aee2bbab0 Author: Andy Seaborne Date: 2018-11-30T11:15:09Z JENA-1643: Use transactional dataset in clear(). ---
[jira] [Commented] (JENA-1643) CLEAR and DROP do not work on inference graphs over TDB.
[ https://issues.apache.org/jira/browse/JENA-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16704607#comment-16704607 ] ASF GitHub Bot commented on JENA-1643: -- GitHub user afs opened a pull request: https://github.com/apache/jena/pull/501 JENA-1643: Use transactional dataset in clear(). The fix is the one line change in method `clear()`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/afs/jena graphtdb-clear Alternatively you can review and apply these changes as the patch at: https://github.com/apache/jena/pull/501.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 #501 commit 2c1b6c84b589b004aeab76099578aa0aee2bbab0 Author: Andy Seaborne Date: 2018-11-30T11:15:09Z JENA-1643: Use transactional dataset in clear(). > CLEAR and DROP do not work on inference graphs over TDB. > > > Key: JENA-1643 > URL: https://issues.apache.org/jira/browse/JENA-1643 > Project: Apache Jena > Issue Type: Bug >Affects Versions: Jena 3.9.0 >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Major > Fix For: Jena 3.10.0 > > > [Reported by > email|https://lists.apache.org/thread.html/74e434ababc63419fe5abf141d88ea9101b8d7fc0ca7b860f400b4d9@%3Cusers.jena.apache.org%3E]. > {{BaseInfGraph}}.clear is not trigger transaction promoting in the > graph-level transaction going through {{GraphTDB.clear}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
Re: Toward Jena 3.10.0
We could retire jena-spatial immediately after 3.10.0 - given the Lucene change that might be smoother, one release with updated dependencies. If that is the way forward, I think it is (mildly) better to take it out of the Fuseki/Full build in 3.10.0. Andy On 29/11/2018 17:00, Marco Neumann wrote: I will have to look into that I guess since I am frequent user of spatial data. why not go to 7.5? was there an incompatibility? On Thu 29. Nov 2018 at 16:53, Andy Seaborne wrote: Jena 3.1.0 would be around the end of the year. I'd like to make use of Greg's GeoSPARQL project the "headline" item for the release and to retire jena-spatial in 3.10.0 as an indication of this. Because retirement is a new process for the project, I'm sending this first 3.10.0 message quite early to give us discussion time. == Retirements We have talked about this before but not actually done anything. See separate thread for discussion on retirement process and for the first modules: jena-spatial jena-fuseki1 jena-csv == Headlines JENA-664 : GeoSPARQL support I'd like to make use of Greg's GeoSPARQL project the "headline" item for the release and to retire jena-spatial in 3.10.0 as an indication of this. JENA-1621 : Lucene upgrade to 7.4 May need to reload lucene indexes. (e.g. the lucene index was create originally with Lucene v5.x (prior Jena 3.3.0). See Lucene upgrade tool. https://lucene.apache.org/solr/guide/7_4/indexupgrader-tool.html JENA-1623 : Fuseki security JENA-1627 : HTTP support https://issues.apache.org/jira/browse/JENA-1623 http://jena.staging.apache.org/documentation/fuseki2/data-access-control == JIRA: 31 currently. https://s.apache.org/jena-3.10.0-jira == Updates Only plugins. JENA-1624 surefire : 2.21.0 -> 2.22.1 (+ SUREFIRE-1588) compiler : 3.7.0 -> 3.8.0 shade: 3.1.0 -> 3.2.0 Andy
[jira] [Created] (JENA-1643) CLEAR and DROP do not work on inference graphs over TDB.
Andy Seaborne created JENA-1643: --- Summary: CLEAR and DROP do not work on inference graphs over TDB. Key: JENA-1643 URL: https://issues.apache.org/jira/browse/JENA-1643 Project: Apache Jena Issue Type: Bug Affects Versions: Jena 3.9.0 Reporter: Andy Seaborne Assignee: Andy Seaborne Fix For: Jena 3.10.0 [Reported by email|https://lists.apache.org/thread.html/74e434ababc63419fe5abf141d88ea9101b8d7fc0ca7b860f400b4d9@%3Cusers.jena.apache.org%3E]. {{BaseInfGraph}}.clear is not trigger transaction promoting in the graph-level transaction going through {{GraphTDB.clear}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)