Wan Kun created SPARK-53552:
-------------------------------

             Summary: Optimize substr SQL function 
                 Key: SPARK-53552
                 URL: https://issues.apache.org/jira/browse/SPARK-53552
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.1.0
            Reporter: Wan Kun


In substringSQL() functions, if pos > 0 then we don't need to calculate 
numChars(). 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to