You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "clintropolis (via GitHub)" <gi...@apache.org> on 2025/10/08 19:04:01 UTC
[PR] add SegmentFileBuilder, SegmentFileMapper, SegmentFileChannel interfaces (druid)
clintropolis opened a new pull request, #18608:
URL: https://github.com/apache/druid/pull/18608
### Description
This PR introduces new interfaces for segment file building and mapping to replace direct usages of `FileSmoosher` and `SmooshedFileMapper`, allowing for additional implementations to be defined.
#### Release note
(for developers)
New `SegmentFileBuilder` and `SegmentFileMapper` interfaces have been defined to replace direct usages of `FileSmoosher` and `SmooshedFileMapper` to abstract the segment building and reading process.
The main developer visible changes for extension writers with custom column implementations is that the `Serializer` interface has changed the `writeTo` method, which now accepts a `SegmentFileBuilder` instead of a `FileSmoosher`, and the `ColumnBuilder` method `getFileMapper` now returns a `SegmentFileMapper` instead of `SmooshedFileMapper`. Extensions which do not provide custom column implementations should not be impacted by these changes.
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [PR] add SegmentFileBuilder, SegmentFileMapper, SegmentFileChannel interfaces (druid)
Posted by "gianm (via GitHub)" <gi...@apache.org>.
gianm merged PR #18608:
URL: https://github.com/apache/druid/pull/18608
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org