apache / apache/pinot

Set a Partial Response Flag on Incomplete Results

Open
#7,398 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
1d 21h
Merged PRs (30d)
189

Description

Continuing the discussion in [this](https://github.com/apache/pinot/issues/7264) ticket, it would be nice to have an explicit partial response flag whenever the results are incomplete. The earlier ticket adds new exceptions for partial results. However, it makes the fact that the result-set is incomplete a bit obfuscated from the user (he has to look into the exceptions list and then look for the error code). One more thing we can look at is failing the query if results are partial (making this behaviour configurable).

I created a new ticket for this as the earlier ticket, while it has much of the required discussion around this, had gotten a bit cluttered.

Contributor guide

Open the contributing guide

Research direction

Start by reading the discussion in issue 7264 and tracing the existing exceptions and error-code handling for partial results. Define where the result-set’s incomplete state is exposed and how the configurable fail-on-partial behavior should work. Done means users can detect partial results through an explicit flag, with the configured failure behavior covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.