Skip to content

Commit b9306b4

Browse files
committed
Remove removeColumn/updateColumn for now.
1 parent a728bf2 commit b9306b4

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717

1818
package org.apache.spark.sql
1919

20-
import scala.collection.mutable.ArrayBuffer
2120
import scala.language.implicitConversions
2221
import scala.reflect.ClassTag
23-
import scala.collection.JavaConverters._
2422
import scala.collection.JavaConversions._
2523

2624
import java.util.{ArrayList, List => JList}
@@ -444,10 +442,6 @@ class DataFrame protected[sql](
444442
select(Column("*"), col.as(colName))
445443
}
446444

447-
override def removeColumn(colName: String, col: Column): DataFrame = ???
448-
449-
override def updateColumn(colName: String, col: Column): DataFrame = ???
450-
451445
/**
452446
* Return the first `n` rows.
453447
*/

sql/core/src/main/scala/org/apache/spark/sql/api.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,6 @@ trait DataFrameSpecificApi {
141141
/////////////////////////////////////////////////////////////////////////////
142142
def addColumn(colName: String, col: Column): DataFrame
143143

144-
def removeColumn(colName: String, col: Column): DataFrame
145-
146-
def updateColumn(colName: String, col: Column): DataFrame
147-
148144
/////////////////////////////////////////////////////////////////////////////
149145
// I/O and interaction with other frameworks
150146
/////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)