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

Combining predicates in string dialect can cause errors if IS LEAF is first predicate #149

Open
ilumsden opened this issue Aug 9, 2024 · 0 comments
Assignees
Labels
area-query-lang Issues and PRs related to Hatchet's query language priority-normal Normal priority issues and PRs type-bug Identifies bugs in issues and identifies bug fixes in PRs

Comments

@ilumsden
Copy link
Collaborator

ilumsden commented Aug 9, 2024

When creating a string dialect predicate consisting of IS LEAF followed by other predicates (e.g., p."name" = "..."), applying the query will fail because the type check will have a leading Python binary operation (e.g., and, or).

@ilumsden ilumsden added area-query-lang Issues and PRs related to Hatchet's query language priority-normal Normal priority issues and PRs type-bug Identifies bugs in issues and identifies bug fixes in PRs labels Aug 9, 2024
@ilumsden ilumsden self-assigned this Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-query-lang Issues and PRs related to Hatchet's query language priority-normal Normal priority issues and PRs type-bug Identifies bugs in issues and identifies bug fixes in PRs
Projects
None yet
Development

No branches or pull requests

1 participant