steFaiz opened a new pull request, #6755:
URL: https://github.com/apache/paimon/pull/6755

   <!-- Please specify the module before the PR name: [core] ... or [flink] ... 
-->
   
   ### Purpose
   This PR is a part of https://github.com/apache/paimon/issues/6734
   <!-- Linking this pull request to the issue -->
   This PR do **NOT** change any file structure, mainly moving classes under 
`paimon-common/lookup/sort` to `paimon-common/sst`.
   Other changes can be summarized as below:
   1. Rename previous `SortLookupStoreReader` and `SortLookupStoreWriter` to 
`SstFileReader` and `SstFileWriter`
   2. Slightly change current `SstFileReader` and `SstFileWriter` to directly 
interact with `SeekableInputStream` and `PositionOutputStream`. Also modified 
related classes such as `BlockCache` and `FileBasedBloomFilter`.
   3. Create new `SortLookupStoreReader` and `SortLookupStoreWriter` which just 
delegate reads and writes to inner Sst File
   Reader/Writer
   
   I'll try to modify SST File structure to make it more generalize in future 
PRs. i.e. support range query and sequential scan.
   
   <!-- What is the purpose of the change -->
   
   ### Tests
   Please see:
   * `org.apache.paimon.lookup.sort.SortLookupStoreFactoryTest` for LookupStore 
Test
   * `org.apache.paimon.sst.SstFileTest` for SST File Test
   <!-- List UT and IT cases to verify this change -->
   
   ### API and Format
   None
   <!-- Does this change affect API or storage format -->
   
   ### Documentation
   None for now
   <!-- Does this change introduce a new feature -->
   


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

Reply via email to