Skip to content

Math expression should gracefully handle missing columns #3627

@gianm

Description

@gianm

Most aggregators are coded to ignore missing columns (sum treats them as zeroes, min treats them as positive infinity, etc). Math expressions, however, fail with a "no binding found" message. A quick fix would be to have them return 0L for missing columns, but IMO it'd be better to allow expressions to be "nullable" and have the aggregators deal with that as appropriate. The goes is to make min(MISSING, 1, 2) = 1 instead of an exception or zero.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions