-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add "initcap" function #656
Conversation
Initcap is like "title", but while "title" defines articles are not to be capitalized, initcap capitalizes also articles. Initcap is supported by basically all DB systems, including Spark and DataFusion
extensions/functions_string.yaml
Outdated
- | ||
name: initcap | ||
description: >- | ||
Converts the input string into init cap case. Capitalize the first character of each word in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
init -> initial
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And cap -> capitalized
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rewritten in 94ab9e7, was hard to make it sound good since there's no proper name for the initcap case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Initcap is like "title", but while "title" defines articles
are not to be capitalized, initcap capitalizes also articles.
Initcap is supported by basically all DB systems, including Spark and DataFusion