[SPARK-2395][SQL] Optimize common LIKE patterns.

`Like` is not work in this way, it only support the `\` for escape, `%` for arbitrary characters, and `_` for a single character matching.
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF