gianm commented on issue #17968:
URL: https://github.com/apache/druid/issues/17968#issuecomment-2861964132
It is actually possible to do this today! Although, the way you do it is not
documented. But maybe we should document it? It involves placing a list of
segments in the `intervals` field of a query. This feature exists because when
the Broker passes down your query to Historicals, it replaces the `intervals`
with the list of segments that the specific Historical should be querying.
It looks like:
```json
{
"queryType": "segmentMetadata",
"dataSource": "sample_datasource",
"intervals": {
"type": "segments",
"segments": [
{
"itvl": "2025-12-01T00:00:00.000Z/2025-12-02T00:00:00.000Z",
"ver": "2025-12-02T00:00:00.000Z",
"part": 1
}
]
}
}
```
It is indeed possible to do this with any query type.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]