Spark SQL types are not handled through basic RDD saveToEs() calls

We provide native support for Spark SQL DataFrames and Datasets in ES-Hadoop. These often require some different logic to handle the serialization correctly. Please take a look at our documentation section about SparkSQL for the correct API calls.