Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useDefaultValueForNull need to be explicitly set to true starting druid 28 #1099

Open
anton-antropov opened this issue May 27, 2024 · 0 comments

Comments

@anton-antropov
Copy link

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

@anton-antropov anton-antropov changed the title useDefaultValueForNull explicitly set to true starting druid 28 useDefaultValueForNull need to be explicitly set to true starting druid 28 May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant