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

Support array comparisons #68

Open
eyurtsev opened this issue Jun 10, 2024 · 1 comment
Open

Support array comparisons #68

eyurtsev opened this issue Jun 10, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@eyurtsev
Copy link
Collaborator

eyurtsev commented Jun 10, 2024

Define filters and semantics for array comparisons.

Feel free to use this PR as reference: #59

Array comparisons may involve an either "all" or "any" condition.

Requirements

  • Define a clear API to allow swapping between all vs. any
  • Do not break existing ability to do a membership check with in

Only pick up work on this if you have and use postgresql

@eyurtsev eyurtsev added the help wanted Extra attention is needed label Jun 10, 2024
@jernkuan
Copy link

jernkuan commented Jun 24, 2024

Hi @eyurtsev

Made another pull request #77 that would support both int, float, text.

Not the most optimal, but with postgresql even using raw sql statement i'm not sure whether there is a better way, since ?| support only an array of text and not numbers.

Also added support to run this on windows, as ProacatorEventLoop is not support on windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants