https://pinot.apache.org/ logo
#pinot-dev
Title
# pinot-dev
k

Ken Krugler

07/26/2021, 9:38 PM
Hi devs - I started working on defining a solution for https://github.com/apache/pinot/issues/7206, but ran into a bunch of confusing code and undocumented options that seem related.
Wondering if anybody can explain the meaning of some existing options:
Copy code
public static final String ENABLE_SEGMENT_TRIM = "enableSegmentTrim";
public static final String MIN_SEGMENT_TRIM_SIZE = "minSegmentTrimSize";
If I use
OPTION(minSegmentTrimSize=200000)
in a query, I definitely get different results.
k

Kishore G

07/26/2021, 10:41 PM
@User ^^
j

Jackie

07/26/2021, 11:09 PM
We discussed offline, and the details are recorded in the github issue
k

Ken Krugler

07/26/2021, 11:31 PM
Hi @User - yes, sorry…should have noted resolution here. PR #7052 is to support segment-level trimming of groups. Documentation isn’t updated yet since that’s not part of a release. So issue #7206 is still relevant, I had to update it to clarify that is to support control over server-level trimming of groups.
k

Kishore G

07/26/2021, 11:39 PM
👍