Github user rxin commented on a diff in the pull request: https://github.com/apache/spark/pull/12817#discussion_r61682039 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala --- @@ -393,6 +393,45 @@ class DataFrameReader private[sql](sparkSession: SparkSession) extends Logging { * This function goes through the input once to determine the input schema. To avoid going * through the entire data once, specify the schema explicitly using [[schema]]. * + * You can set the following CSV-specific options to deal with CSV files: + * <li>`sep` or `delimiter` (default `,`): sets the single character as a delimiter for each + * field and value.</li> + * <li>`encoding` or `charset` (default `UTF-8`): decodes the CSV files by the given encoding --- End diff -- can we remove all the aliases? it'd be great to just have the primary one here.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org