Skip to content

SQL: Fix assumption that AND, OR operators are binary #5468

@gianm

Description

@gianm

We'll get ones that are nonbinary inside a query like:

SELECT
  CASE WHEN m1 > 1 AND m1 < 5 AND cnt > 1 THEN 'x' ELSE NULL END,
  COUNT(*)
FROM druid.foo
GROUP BY 1

Originally reported in https://groups.google.com/d/msg/druid-user/tPuxE_6nrHI/IaMkeOKLAAAJ.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions