Vasu7052 commented on issue #14779:
URL: https://github.com/apache/pinot/issues/14779#issuecomment-2579347185
Here are the APIs that i tried:
1.
```
curl -X 'GET' \
'http://localhost:9000/segments/events_v1/metadata?type=OFFLINE' \
-H 'accept: application/json'
output:
{
"events_v1_OFFLINE_1733600231086_1737667483443_0": {
"segmentName": "events_v1_OFFLINE_1733600231086_1737667483443_0",
"schemaName": null,
"crc": 992603588,
"creationTimeMillis": 1736333325493,
"creationTimeReadable": "2025-01-08T10:48:45:493 UTC",
"timeColumn": "time",
"timeUnit": "MILLISECONDS",
"timeGranularitySec": 0,
"startTimeMillis": 1733600231086,
"startTimeReadable": "2024-12-07T19:37:11.086Z",
"endTimeMillis": 1737667483443,
"endTimeReadable": "2025-01-23T21:24:43.443Z",
"segmentVersion": "v3",
"creatorName": null,
"totalDocs": 500109,
"custom": {
"input.data.file.uri": "file:/mnt/data/...output.csv"
},
"startOffset": null,
"endOffset": null,
"columns": [],
"indexes": {},
"star-tree-index": null
}
}
```
2.
```
curl -X 'GET' \
'http://localhost:9000/segments/events_v1/events_v1_OFFLINE_1733600231086_1737667483443_0/metadata'
\
-H 'accept: application/json'
{
"segment.start.time": "1733600231086",
"segment.time.unit": "MILLISECONDS",
"segment.size.in.bytes": "20886469",
"segment.end.time": "1737667483443",
"segment.total.docs": "500109",
"segment.creation.time": "1736333325493",
"segment.push.time": "1736333329509",
"segment.end.time.raw": "1737667483443",
"segment.start.time.raw": "1733600231086",
"segment.index.version": "v3",
"custom.map":
"{\"input.data.file.uri\":\"file:/mnt/data/.../output.csv\"}",
"segment.crc": "992603588",
"segment.download.url":
"http://controller:9000/segments/events_v1/events_v1_OFFLINE_1733600231086_1737667483443_0"
}
```
None of these APIs are giving index information:
Here's the first few lines of index_map file
```
Platform.dictionary.startOffset = 0
Platform.dictionary.size = 29
Platform.forward_index.startOffset = 29
Platform.forward_index.size = 125036
account_id.dictionary.startOffset = 125065
account_id.dictionary.size = 12
account_id.forward_index.startOffset = 125077
account_id.forward_index.size = 16
```
--
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]