apache / apache/druid

Add support for SQL-compatible null handling to movingAverage query

Open
#6,472 6 comments 0 reactions 0 assignees View on GitHub
Evergreen stale
Dominant language
Java
Stars
14.1k
Forks
3.8k
Avg merge
2d 31m
Merged PRs (30d)
209

Description

This issue is for implementing #4349-compliant null-handling in movingAverage query.

Background:
movingAverage query (#6430) doesn't currently support the `druid.generic.useDefaultValueForNull=false` (This is noted in documentation). An exception will be raised by the query if this flag is set.

movingAverge query has null-handling built into it, which mostly based on the original "replace with default" convention but is a bit more flexible (Allows the user to choose null-aware Averager).

Contributor guide

Open the contributing guide

Research direction

The issue names no implementation file or test; start with the movingAverage query and read issues #4349 and #6430 for the required null-handling behavior. Review the documentation note about the flag, then verify that movingAverage works with druid.generic.useDefaultValueForNull=false without raising an exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.