You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Capitalizes the first character in each word in the input string. Words are delimited by non-alphanumeric characters.",
94
-
"initcap(str)")
95
-
.with_sql_example(r#"```sql
93
+
"Capitalizes the first character in each word in the ASCII input string. \
94
+
Words are delimited by non-alphanumeric characters.\n\n\
95
+
Note this function does not support UTF-8 characters.",
96
+
"initcap(str)",
97
+
)
98
+
.with_sql_example(
99
+
r#"```sql
96
100
> select initcap('apache datafusion');
97
101
+------------------------------------+
98
102
| initcap(Utf8("apache datafusion")) |
99
103
+------------------------------------+
100
104
| Apache Datafusion |
101
105
+------------------------------------+
102
-
```"#)
103
-
.with_standard_argument("str",Some("String"))
104
-
.with_related_udf("lower")
105
-
.with_related_udf("upper")
106
-
.build()
106
+
```"#,
107
+
)
108
+
.with_standard_argument("str",Some("String"))
109
+
.with_related_udf("lower")
110
+
.with_related_udf("upper")
111
+
.build()
107
112
})
108
113
}
109
114
110
-
/// Converts the first letter of each word to upper case and the rest to lower case. Words are sequences of alphanumeric characters separated by non-alphanumeric characters.
115
+
/// Converts the first letter of each word to upper case and the rest to lower
116
+
/// case. Words are sequences of alphanumeric characters separated by
0 commit comments