Shivam Sharma
01/06/2025, 9:56 AMShivam Sharma
01/06/2025, 9:58 AMShivam Sharma
01/06/2025, 9:59 AM"tableIndexConfig": {
"sortedColumn": ["score"]
},
"fieldConfigList": [
{
"name": "leaderboardId",
"indexes": {
"inverted": {}
}
},
{
"name": "participantId",
"indexes": {
"bloom": {}
}
}
],
OR:
"tableIndexConfig": {
"sortedColumn": ["score"],
"invertedIndexColumns": ["leaderboardId"]
},
"fieldConfigList": [
{
"name": "participantId",
"indexes": {
"bloom": {}
}
}
],Shivam Sharma
01/06/2025, 10:00 AMShivam Sharma
01/06/2025, 10:03 AMAditya Verma
01/06/2025, 10:12 AMharnoor
01/06/2025, 1:52 PMWhat is the difference between status "online" and "consuming" under segments in Pinot UI?Once a realtime segment (which is ingesting data from any stream) reaches the confiugred size threshold, it's status changes to online from consuming. Ref: https://docs.pinot.apache.org/basics/concepts/components/table/segment/segment-threshold
I can see different indexes on the segments with different statuses or even after reloading sameSome indexes are created once the consuming segment is committed/completed. Hence, you might see different indexes between consuming and online segment. Index specific documentation should call out this.
Shivam Sharma
01/06/2025, 3:38 PMMayank
Shivam Sharma
01/07/2025, 6:56 AMMayank
Shivam Sharma
01/08/2025, 9:44 AMSorted index creation requires sorting the data on that column, which is only done for completed segments, and not for consuming segments. Are you just trying to understand the behavior, or actually seeing an issue?Is it true for Bloom Filter as well? I can't see that as well in consuming segment. Or it's just my index is not working fine? Can I see the indexes which a segment will get after completion while it's in consuming state so that I can confirm if my index config is working fine? For 2, please refer to the second image posted in the main message of this thread. There are sorted index for each field when I have zero docs in an online segment?
Mayank
Mayank