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

STIX MATCHES operator is translated to SQL incorrectly #116

Closed
pcoccoli opened this issue Dec 14, 2023 · 0 comments
Closed

STIX MATCHES operator is translated to SQL incorrectly #116

pcoccoli opened this issue Dec 14, 2023 · 0 comments
Assignees

Comments

@pcoccoli
Copy link
Collaborator

firepit just passes MATCHES through, but I think we need to use MATCH for SQLite3 (https://www.sqlite.org/lang_expr.html) and ~ for PostgreSQL (https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-POSIX-REGEXP)

@pcoccoli pcoccoli self-assigned this Dec 14, 2023
@pcoccoli pcoccoli mentioned this issue Dec 14, 2023
@pcoccoli pcoccoli closed this as completed Jan 5, 2024
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

No branches or pull requests

1 participant