diff --git a/postgresql/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/PostgresqlUtils.scala b/postgresql/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/PostgresqlUtils.scala index 9f6c46074..d2847f990 100644 --- a/postgresql/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/PostgresqlUtils.scala +++ b/postgresql/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/PostgresqlUtils.scala @@ -181,7 +181,6 @@ object PostgresqlUtils { ans.toArray } - private def getPostgresqlType(dataType: DataType): String = dataType match { case StringType => "TEXT" case BinaryType => "BYTEA"