GitHub user willb opened a pull request: https://github.com/apache/spark/pull/1359
SPARK-2407: Added internal implementation of SQL SUBSTR() This replaces the Hive UDF for SUBSTR(ING) with an implementation in Catalyst and adds tests to verify correct operation. You can merge this pull request into a Git repository by running: $ git pull https://github.com/willb/spark internalSqlSubstring Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/1359.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1359 ---- commit 7d7b2631394d2b46f9753c0cf53e674b640eb82c Author: William Benton <wi...@redhat.com> Date: 2014-07-08T18:06:15Z Added internal implementation of SQL SUBSTR() This replaces the Hive UDF for SUBSTR(ING) with an implementation in Catalyst and adds tests to verify correct operation. Squashes 8969d038 and e6419b4e. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---