forked from apache/druid
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling an empty list of versions (apache#16198)
* Differentiate null and empty lists of segment IDs and versions. Treat them differently so the. Segment IDs and versions can be An empty list, in which case, the queries should just not return anything. Versions are optional, so they can be null, which just indicates nothing, so the queries should return segments with all possible versions. Segment IDs cannot be null as indicated by the absence of @nullable annotation. * Update javadocs and add empty versions test to kill task. * Add test for RetrieveSegmentsActions as well.
- Loading branch information
1 parent
e7dc00b
commit 95595ba
Showing
6 changed files
with
284 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.