Akanksha-kedia opened a new pull request, #17642:
URL: https://github.com/apache/pinot/pull/17642

   ## Description
   Adds the `INITCAP` function to Apache Pinot's scalar function library. This 
is a standard SQL function that converts the first letter of each word to 
uppercase and the rest to lowercase.
   
   ## Changes
   - Implemented `initcap()` function in `StringFunctions.java`
   - Added comprehensive unit tests with 40+ test cases
   - Handles edge cases: empty strings, multiple spaces, special characters, 
Unicode
   
   ## Example Usage
   ```sql
   SELECT INITCAP('hello world') FROM myTable
   -- Returns: 'Hello World'
   


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