title: How to provide parserLib and inferSchema options together for spark-csv
body: <pre><code>sqlContext.read.format("com.databricks.spark.csv").option("header", "true").option("inferSchema","true").option("parserLib", "UNIVOCITY").option("escape","\"").load("file.csv")
  </code></pre>
  
  <p>When I create dataframe using above code I am getting following error:</p>
  
  <blockquote>
    <p>ERROR Executor: Exception in task 0.0 in stage 1.0 (TID 1)
    java.lang.AbstractMethodError:
    com.databricks.spark.csv.readers.BulkCsvReader.aggregate(Ljava/lang/Object;Lscala/Function2;Lscala/Function2;)Ljava/lang/Object;</p>
  </blockquote>
  
  <p>If I avoid parseLib option It runs fine.
  I want to set spark-csv parser to Univocity and at the same time datatype should be recognised by spark csv using inferSchema.</p>
  
  <p>Note: I am using spark-csv 1.3 (its not working for any version of it)
  Spark: 1.6.2
  Scala : 2.10.5 </p>
  
  <p>Thanks.</p>