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

TInkerpop Predicates can't be serialised #3229

Closed
tb06904 opened this issue Jun 5, 2024 · 0 comments · Fixed by #3231
Closed

TInkerpop Predicates can't be serialised #3229

tb06904 opened this issue Jun 5, 2024 · 0 comments · Fixed by #3231
Assignees
Labels
bug Confirmed or suspected bug tinkerpop Specific to/touches the tinkerpop module
Milestone

Comments

@tb06904
Copy link
Member

tb06904 commented Jun 5, 2024

Describe the bug
We currently use the Tinkerpop P class and extract the predicates to be used from it directly but this class cannot be deserialised so fails if using an accumulo store. We should probably just translate these to Koryphe ones instead.

@tb06904 tb06904 added bug Confirmed or suspected bug tinkerpop Specific to/touches the tinkerpop module labels Jun 5, 2024
p29876 added a commit that referenced this issue Jun 5, 2024
fixes serialisation issues with accumulo
change HasStepIT tests to use accumulo to catch errors
tb06904 added a commit that referenced this issue Jun 6, 2024
@p29876 p29876 linked a pull request Jun 6, 2024 that will close this issue
@GCHQDeveloper314 GCHQDeveloper314 added this to the v2.2.2 milestone Jun 7, 2024
l46978 pushed a commit that referenced this issue Jun 14, 2024
* Gh-3229 Translate Tinkerpop predicates to Koryphe predicates

fixes serialisation issues with accumulo
change HasStepIT tests to use accumulo to catch errors

* Apply additional fixes for cypher and move to utility class for factory

* move class

* refactor Has filtering to use GlobalViewElementDefinitions

delete unused methods in GafferPopGraph
update tests

* update comment

* add tests for coverage

* checkstyle

* wrong junit import

* update errors

* sonarcloud

* lists are iterable

---------

Co-authored-by: tb06904 <141412860+tb06904@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed or suspected bug tinkerpop Specific to/touches the tinkerpop module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants