[SPARK-2890][SQL] Allow reading of data when case insensitive resolution could cause possible ambiguity.