SPARK-2407: Added Parse of SQL SUBSTR()

follow-up of #1359