gianm opened a new pull request, #12987:
URL: https://github.com/apache/druid/pull/12987

   DataSketches Memory.map is not Java 17 compatible, and from discussions
   with the team, is challenging to make compatible with 17 while also
   retaining compatibility with 8 and 11. So, in this patch, we switch away
   from Memory.map and instead use the builtin JDK mmap functionality. Since
   it only supports maps up to Integer.MAX_VALUE, we also implement windowing
   in FrameFile, such that we can still handle large files.
   
   Other changes:
   
   1) Add two new "map" functions to FileUtils, which we use in this patch.
   2) Add a footer checksum to the FrameFile format. Individual frames
      already have checksums, but the footer was missing one.
   
   This work is towards #12838.


-- 
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]

Reply via email to