Caideyipi opened a new pull request, #18374:
URL: https://github.com/apache/iotdb/pull/18374

   ## Description
   
   This is a Sonar follow-up to #18305 and #18350. Sonar reported two 
brain-method warnings in the TsFile scan parser.
   
   The affected methods are the parser hot paths for:
   - aligned/scalar value-type dispatch;
   - TsFile marker transitions and chunk-reader state.
   
   This PR documents and narrowly suppresses those two warnings. Splitting 
either method would spread state-machine context across extra calls; parser 
behavior is unchanged.
   
   ### Verification
   
   - TsFileInsertionEventParserTest: 21 run, 0 failures, 0 errors, 3 existing 
conditional skips
   - DataNode compilation: passed
   - Checkstyle: 0 violations
   - Spotless and git diff --check: passed
   
   <hr>
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added comments explaining the targeted Sonar suppressions.
   - [x] been covered by the existing parser unit tests.


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