Skip to content

Please add ROUND function to Druid SQL #5644

@vogievetsky

Description

@vogievetsky

It is already implemented as part of http://druid.io/docs/latest/misc/math-expr.html
Please expose it in SQL.

In the meantime one can do:

CASE WHEN X - FLOOR(X) < 0.5 THEN FLOOR(X) ELSE CEIL(X) END

Metadata

Metadata

Assignees

No one assigned

    Labels

    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