druid/services/src
Abhishek Radhakrishnan c27f5bf52f
Report zero values instead of unknown for empty ingest queries (#15674)
MSQ now allows empty ingest queries by default. For such queries that don't generate any output rows, the query counters in the async status result object/task report don't contain numTotalRows and totalSizeInBytes. These properties when not set/undefined can be confusing to API clients. For example, the web-console treats it as unknown values.

This patch fixes the counters by explicitly reporting them as 0 instead of null for empty ingest queries.
2024-01-17 16:26:10 +05:30
..
bin Adding licenses and enable apache-rat-plugin. (#6215) 2018-09-18 08:39:26 -07:00
main Report zero values instead of unknown for empty ingest queries (#15674) 2024-01-17 16:26:10 +05:30
test Lazily build Filter in FilteredAggregatorFactory to avoid parsing exceptions in Router (#15526) 2023-12-09 12:18:37 +05:30