8000 useDefaultValueForNull need to be explicitly set to true starting druid 28 · Issue #1099 · allegro/turnilo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
useDefaultValueForNull need to be explicitly set to true starting druid 28 #1099
Open
@anton-antropov

Description

@anton-antropov

This issue took up half my day, so I'm sharing it with the community. Starting from Druid 28, the useDefaultValueForNull is set to false, affecting aggregations. For example, in my case:

$main.sum($c1) + $main.sum($c2)

was returning null even though one of the values was non-null.

setting useDefaultValueForNull explicitly to true solved the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0