aboutsummaryrefslogtreecommitdiff
path: root/sql/core
diff options
context:
space:
mode:
Diffstat (limited to 'sql/core')
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala10
1 files changed, 0 insertions, 10 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala b/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
index e7627ac2c9..fbf22197a1 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
@@ -743,16 +743,6 @@ class SQLContext private[sql](val sparkSession: SparkSession)
sparkSession.catalog.listTables(databaseName).collect().map(_.name)
}
- /**
- * Parses the data type in our internal string representation. The data type string should
- * have the same format as the one generated by `toString` in scala.
- * It is only used by PySpark.
- */
- // TODO: Remove this function (would require updating PySpark).
- private[sql] def parseDataType(dataTypeString: String): DataType = {
- DataType.fromJson(dataTypeString)
- }
-
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
// Deprecated methods