clintropolis opened a new pull request, #19042: URL: https://github.com/apache/druid/pull/19042
changes: * add new `SegmentPruner` interface as a replacement for `DimFilterUtils.filterShards` static method * `SegmentPruner` interface has a single 'prune' method that takes an `Iterable<T>` and `Function` to extract a `DataSegment` from the iterable objects, returning a `Collection<T>` of the filtered objects * `DimFilterUtils.filterShards` has been removed, its logic has been migrated to `FilterSegmentPruner` implementation of the new `SegmentPruner` interface * `TableInputSpec` now has a `SegmentPruner` field instead of separate `filter` and `filterFields` (these fields still remain for compat purposes) * transition `DartTableInputSpecSlicer`, `IndexerTableInputSpecSlicer, and `CachingClusteredClient` to use `SegmentPruner` (the former 2 via the `TableInputSpec`) -- 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]
