StarTree Pinot currently needs to provide mutable bloom-filter support for consuming realtime segments while preserving the existing immutable bloom index behavior. The available extension point forces downstream code to subclass the concrete BloomIndexType just to override createMutableIndex(...).
It would be cleaner to expose an SPI/factory hook for mutable index creation so downstream distributions can register mutable bloom behavior without coupling to the concrete OSS BloomIndexType implementation. This would reduce downstream maintenance risk on Pinot upgrades and keep immutable bloom reader/creator behavior owned by OSS Pinot.
StarTree Pinot currently needs to provide mutable bloom-filter support for consuming realtime segments while preserving the existing immutable bloom index behavior. The available extension point forces downstream code to subclass the concrete
BloomIndexTypejust to overridecreateMutableIndex(...).It would be cleaner to expose an SPI/factory hook for mutable index creation so downstream distributions can register mutable bloom behavior without coupling to the concrete OSS
BloomIndexTypeimplementation. This would reduce downstream maintenance risk on Pinot upgrades and keep immutable bloom reader/creator behavior owned by OSS Pinot.