Skip to content

[BUG] SUM(NULL) unexpectedly returns 0 #549

@ghost

Description

What is the bug?
SUM(NULL) unexpectedly returns 0

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Make a query SELECT SUM(NULL) from
  2. See the result as 0 instead of NULL
    image
  3. What is the expected behavior?
    The result should be NULL

    What is your host/environment?

    • OpenSearch 1.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtdvtTableau test framework

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions