-
- Downloads
[SPARK-14060][SQL] Move StringToColumn implicit class into SQLImplicits
## What changes were proposed in this pull request? This patch moves StringToColumn implicit class into SQLImplicits. This was kept in SQLContext.implicits object for binary backward compatibility, in the Spark 1.x series. It makes more sense for this API to be in SQLImplicits since that's the single class that defines all the SQL implicits. ## How was this patch tested? Should be covered by existing unit tests. Author: Reynold Xin <rxin@databricks.com> Author: Wenchen Fan <wenchen@databricks.com> Closes #11878 from rxin/SPARK-14060.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala 0 additions, 12 deletions...core/src/main/scala/org/apache/spark/sql/SQLContext.scala
- sql/core/src/main/scala/org/apache/spark/sql/SQLImplicits.scala 11 additions, 0 deletions...re/src/main/scala/org/apache/spark/sql/SQLImplicits.scala
- sql/core/src/test/scala/org/apache/spark/sql/test/SQLTestUtils.scala 0 additions, 7 deletions...c/test/scala/org/apache/spark/sql/test/SQLTestUtils.scala
Loading
Please register or sign in to comment