databricks / spark-xml

XML data source for Spark SQL and DataFrames
Apache License 2.0
505 stars 227 forks source link

Typo in scala doc XmlDataFrameReader and XmlDataFrameWriter classes #555

Closed wassimtrifi closed 3 years ago

wassimtrifi commented 3 years ago

We need to change avro format by xml in both descriptions of classes XmlDataFrameWriter and XmlDataFrameReader Xml object.

 /**
   * Adds a method, `xml`, to DataFrameWriter that allows you to write avro files using
   * the DataFileWriter
   */
  implicit class XmlDataFrameWriter[T](writer: DataFrameWriter[T]) {
....
  /**
   * Adds a method, `xml`, to DataFrameReader that allows you to read avro files using
   * the DataFileReader
   */
  implicit class XmlDataFrameReader(reader: DataFrameReader) {
....
srowen commented 3 years ago

Oops, you can guess where this was copied from years ago. If you want to open a PR, go ahead, otherwise I will tomorrow.