Spark SQL INITCAP not capitalizing letters after periods in abbreviations
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2025 01:19 AM
Using SELECT INITCAP("text (e.g., text, text, etc.)") abbreviations with periods like e.g. are not being fully capitalized.
Current behavior:
Input: "text (e.g., text, text, etc.)"Output: "Text (e.g., Text, Text, Etc.)"
Expected behavior:
Output: "Text (E.G., Text, Text, Etc.)"Version:
16.4.x-scala2.12
Labels:
- Labels:
-
Spark