hutiefang76 opened a new pull request, #4434: URL: https://github.com/apache/hertzbeat/pull/4434
## What's changed? The multiRow parser splits on a literal single space. Padding creates empty tokens and tabs stay inside tokens, so field aliases can receive the wrong value or NULL for normal aligned command output. Trim each header/data line and split runs of whitespace. Keep alias-based projection and missing-column handling. Fixes #4432. Validation: JDK 26 targeting Java 25: SshCollectImplTest, 18 tests passed using Maven verify with default checkstyle/enforcer. 2 tests failed against the original parser. Coverage reporting was skipped because no JaCoCo execution file was produced. ```shell mvn -pl hertzbeat-collector/hertzbeat-collector-basic -am -Dtest=SshCollectImplTest -Dsurefire.failIfNoSpecifiedTests=false verify ``` ## Checklist - [x] I have read the Contributing Guide. - [x] I have written the necessary comments. - [x] I added regression tests and the affected test classes passed. ## Add or update API No new endpoint or API signature. AI assistance: implementation and initial review used DeepSeek; Codex coordinated final review and local verification. -- 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]
