[SPARK-2050 - 2][SQL] DIV and BETWEEN should not be case sensitive.

Followup: #989