Skip to content

isNegationOperator does not handle all cases #129

@paustint

Description

@paustint
  • Feature
  • Bug

Description

SELECT AnnualRevenue FROM Account WHERE NOT (AnnualRevenue > 0 AND AnnualRevenue < 200000)

The first condition is a negation operator, but there are no open parens.

Looking at the code, this seems super buggy and may have not been updated on a refactor.
Should add some tests to detect this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions