This topic describes the public API changes that occurred between Apache Spark 2.0.1 and Spark 2.1.0.
For more information about Spark 2.1.0, see the Spark Release Notes and the Spark 2.1.0 API Documentation.
DataType API is now mostly stable. Please see
InterfaceStability annotations for the classes you need.from_json and to_json functions to SQL.StructType now accepts Python Dictionaries.SparkContext.addFile is now supported for SparkR.spark.sql.warehouse.dir now needs to be set before SparkSession
creation and is shared between multiple SparkSessions.Locale for DateFormat/NumberFormat is
now Locale.US.SIZE returns -1 when its input parameter is null.