mirror of https://github.com/apache/druid.git
ae6afc0751
### Description The unusedSegment api response was extended to include the original DataSegment object with the creation time and last used update time added to it. A new object `DataSegmentPlus` was created for this purpose, and the metadata queries used were updated as needed. example response: ``` [ { "dataSegment": { "dataSource": "inline_data", "interval": "2023-01-02T00:00:00.000Z/2023-01-03T00:00:00.000Z", "version": "2024-01-25T16:06:42.835Z", "loadSpec": { "type": "local", "path": "/Users/zachsherman/projects/opensrc-druid/distribution/target/apache-druid-30.0.0-SNAPSHOT/var/druid/segments/inline_data/2023-01-02T00:00:00.000Z_2023-01-03T00:00:00.000Z/2024-01-25T16:06:42.835Z/0/index/" }, "dimensions": "str_dim,double_measure1,double_measure2", "metrics": "", "shardSpec": { "type": "numbered", "partitionNum": 0, "partitions": 1 }, "binaryVersion": 9, "size": 1402, "identifier": "inline_data_2023-01-02T00:00:00.000Z_2023-01-03T00:00:00.000Z_2024-01-25T16:06:42.835Z" }, "createdDate": "2024-01-25T16:06:44.196Z", "usedStatusLastUpdatedDate": "2024-01-25T16:07:34.909Z" } ] ``` |
||
---|---|---|
.. | ||
src | ||
pom.xml |