HyukjinKwon commented on a change in pull request #23962: [SPARK-26016][DOCS] 
Clarify that text DataSource read/write, and RDD methods that read text, always 
use UTF-8
URL: https://github.com/apache/spark/pull/23962#discussion_r262279855
 
 

 ##########
 File path: sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala
 ##########
 @@ -752,7 +753,8 @@ class DataFrameReader private[sql](sparkSession: 
SparkSession) extends Logging {
 
   /**
    * Loads text files and returns a [[Dataset]] of String. The underlying 
schema of the Dataset
-   * contains a single string column named "value".
+   * contains a single string column named "value". The text files must be 
encoded as UTF-8.
+   * The text files must be encoded as UTF-8.
 
 Review comment:
   Looks it's written twice ..

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to