CAPITALIZE

This page describes the CAPITALIZE function in Lenses SQL.

CAPITALIZE(expr)

Capitalize the first letter of the expression.

Available in:

ProcessorsSQL Studio

Sample code:

USE `kafka`;
SELECT 
    CAPITALIZE(status), 
    status 
FROM users-topic
LIMIT 1;

Output:

{
  "value": {
    "CAPITALIZE": "Unverified",
    "status": "unverified"
  }
}

Last updated

Logo

2024 © Lenses.io Ltd. Apache, Apache Kafka, Kafka and associated open source project names are trademarks of the Apache Software Foundation.