Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
https://spark.apache.org/docs/2.3.0/api/sql/#substring_index
substring_index(str, delim, count) - Returns the substring from str before count occurrences of the delimiter delim. If count is positive, everything to the left of the final delimiter (counting from the left) is returned. If count is negative, everything to the right of the final delimiter (counting from the right) is returned. The function substring_index performs a case-sensitive match when searching for delim. Examples: > SELECT substring_index('www.apache.org', '.', 2); www.apache
{{}}
Attachments
Issue Links
- links to