Add Spark SQL support.
Change CaseInsensitiveHashMap extends to LinkedHashMap.