xiangfu0 opened a new pull request, #19352:
URL: https://github.com/apache/pinot/pull/19352

   Adds `ParserUtils.sanitizeIdentifier` for safely re-emitting raw or 
prequoted qualified identifiers.
   
   The utility:
   - preserves valid bare Pinot identifiers and wildcards
   - splits qualification only outside quoted components
   - normalizes backtick and double-quoted components
   - escapes unsafe components with `SqlUtils.quoteIdentifier`
   - rejects malformed qualification and quoted structure
   
   This supports query builders that receive identifiers parsed from SQL and 
need to preserve unquoted case-resolution semantics while preventing identifier 
content from changing the generated statement structure.
   
   Validation:
   - `ParserUtilsTest`: 36 tests, 0 failures
   - `spotless:apply`, `license:format`, `checkstyle:check`, and 
`license:check` on `pinot-common`
   - `git diff --check`


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