You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "melin (Jira)" <ji...@apache.org> on 2022/06/17 03:21:00 UTC

[jira] [Created] (SPARK-39499) Substring function support pattern expression

melin created SPARK-39499:
-----------------------------

             Summary: Substring function support pattern expression
                 Key: SPARK-39499
                 URL: https://issues.apache.org/jira/browse/SPARK-39499
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.4.0
         Environment: h3. SUBSTRING({_}string_expression{_} varchar, _pattern_ varchar) → varchar
 * string_expression: Base expression to extract substring from.
 * pattern: The offset from which the substring starts.

*Examples*

{{SELECT SUBSTRING('dremio user 123', '[0-9]+')}}

{{{}{}}}{{{}-- 123{}}}
            Reporter: melin






--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org