Github user raviolli commented on the issue:

    https://github.com/apache/spark/pull/16976
  
    Dont think it quite works. 
    
    spark.read.option("wholeFile", "true").option("header", 
"true").option("inferSchema", "true").csv("FILE.csv").show()
    
    
+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+-----+-------+
    |          article_id|                date|     goldstein_scale|            
avg_tone|              source|              domain|                
text|title|authors|
    
+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+--------------------+-----+-------+
    |           671907787|            20170710|                  -2|   
-2.75049115913556|http://www.blackl...|http://www.blackl...|As much as the 
U....| null|   null|
    |Russian President...|                2014| celebrating the ...|            
    null|                null|                null|                null| null|  
 null|
    
    



---

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

Reply via email to