Samuel Papin
02/25/2026, 5:47 PMselect max(time_column), count(*) from table where star_tree_indexed_col = "some value" and time_column >= 1000 and time_column <= 2000
time_column is not a startree dimension, just the timecolumn for segment pruning.
The pinot segment min/max for timecolumn should show the selected segment trivially is a subset of the time filter.
I found that this correctly enables startree only if time_column has a dictionnary index. It performs full scan otherwise. I tried adding a range index and it would do a range filter scan.
What is the reason for this? Would a dictionary index on a timestamp (millis) column be a big impact on storage?Mayank
Mayank
Samuel Papin
02/25/2026, 7:39 PMSamuel Papin
02/25/2026, 7:41 PMMayank
Mayank
Mayank
Samuel Papin
02/25/2026, 7:46 PMSamuel Papin
02/25/2026, 7:46 PMMayank
index_map file inside the segment has it.Samuel Papin
02/26/2026, 2:22 PMMayank