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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to