gvdutra opened a new pull request, #7501:
URL: https://github.com/apache/hop/pull/7501

   Fixes block-comment removal in `SqlScriptParser` so SQL word tokens on 
either side of a comment remain separated.
   
   Previously, removing a comment from `SELECT/* comment */1` produced 
`SELECT1`, changing valid SQL into an invalid merged token. The parser now 
inserts a separator only when both adjacent characters are SQL word characters, 
preserving existing punctuation-sensitive output.
   
   A regression test covers the failing input and expected output.
   
   Addresses #7499.
   
   Validation:
   
   - `./mvnw -pl core -Dtest=SqlScriptParserTest test`
   - `git diff --check`
   
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
   


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