wangyum opened a new pull request #29088:
URL: https://github.com/apache/spark/pull/29088


   ### What changes were proposed in this pull request?
   
   This pr add a new `bom` CSVOptions to support fix some characters are 
garbled when opening with Excel.
   
   Before this pr:
   
![image](https://user-images.githubusercontent.com/5399861/87321221-8a882f80-c55e-11ea-85fd-0a26cacbdaf8.png)
   
   
   After this pr and set `bom` to true:
   
![image](https://user-images.githubusercontent.com/5399861/87321310-abe91b80-c55e-11ea-8b12-3b510385a1c0.png)
   
   
   ### Why are the changes needed?
   
   Fix garbled issue.
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   
   ### How was this patch tested?
   
   Unit test.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to