[SPARK-2817] fix the case problem
[SPARK-2817] fix the case problem
[SPARK-2817] fix too short prefix problem