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

Add support for array operators for postgres dialect #360

Merged
merged 5 commits into from
Aug 9, 2019

Conversation

vermaharsh
Copy link
Contributor

  • add array operator support

  • Optimize Gremlin step with ArrayContains and ArrayOverlaps predicates

  • Add tests

vermaharsh and others added 3 commits August 5, 2019 15:30
* add array operator support

* Use array instead of list in ArrayContains and ArrayOverlaps predicates

* Optimize Gremlin step with ArrayContains and ArrayOverlaps predicates

* add tests

* 1. Remove duplicate values while constructing ArrayContains and ArrayOverlaps predicates. 2. Use parameterized prepared statement for setting values instead of building query with them.

* All tests to AllTest suite. Fix test

* Add back accidentally deleted code

* add support to deploy to tableau artifactory
@vermaharsh
Copy link
Contributor Author

@pietermartin could you please review this change and accept in mainline?

This adds support for using array operators @> and && which are performant when working with a large list of integers.

@pietermartin
Copy link
Owner

Thanks for the PR, looks good. I'll review it properly on the weekend.
Can you explain the need for the tableau repository changes you made to the root pom?

@vermaharsh
Copy link
Contributor Author

Can you explain the need for the tableau repository changes you made to the root pom?

It is for easily publishing jars to a repository that my team uses internally. I can take it out and only keep in the fork that we maintain. Let me know.

@pietermartin
Copy link
Owner

Yeah I think rather keep it in your local branch. Thanks

@vermaharsh
Copy link
Contributor Author

Done. Removed the tableau artifactory specific changes.

@pietermartin pietermartin merged commit 3160e45 into pietermartin:master Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants