bengbengbalabalabeng opened a new pull request, #1015:
URL: https://github.com/apache/fesod/pull/1015

   ## Purpose of the pull request
   
   Related: #950 
   
   Replace duplicate `List<Integer> includeColumnIndexes` logic across read 
handlers with a strategy-based `ColumnIndexResolver`.
   
   ## What's changed?
   
   - Removed `ReadSheet#columnIndexes` and added 
`ReadSheet#includeColumnIndexResolver`.
   - Added `ReadSheetHolder#determineIncludedColumnIndex(columnIndex)` method.
   - Added `ColumnIndexResolver.PASS_THROUGH`: Keep original column indices.
   - Added `DefaultColumnIndexResolver`: Rewrite target columns’ internal 
indexes to consecutive (0-based).
     - Replace the original `List.indexOf()` lookup with `Map.get()` to improve 
lookup efficiency and semantic clarity.
   
   ## Checklist
   
   - [x] I have read the [Contributor 
Guide](https://fesod.apache.org/community/contribution/).
   - [x] I have written the necessary doc or comment.
   - [x] I have added the necessary unit tests and all cases have passed.
   


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