Github user djk121 commented on the issue:

    https://github.com/apache/spark/pull/14118
  
    I'm doing this:
    
    val dataframe = sparkSession.read
           .format("com.databricks.spark.csv")
           .option("header", "true")
           .option("nullValue", "null")
           .schema(schema)
           .load(csvPath)
    
    I then take that dataframe and attempt to write it out to parquet like so:
    
    dataframe.write
             .mode(SaveMode.Overwrite)
             .option("compression", "snappy")
             .parquet(outputPath)
    
    When the parquet writes go, I get the same traceback as above.  I can see 
from that traceback that it's org.apache.spark.sql.execution.datasources.csv, 
so for whatever reason, com.databricks.spark.csv isn't being used.  Do I need 
to do something different to force it to be used?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to