From 0e5e7deebd6a89ba30511f3afd0250503bd7061d Mon Sep 17 00:00:00 2001 From: Max Gekk Date: Tue, 19 Jan 2021 10:16:34 +0300 Subject: [PATCH] Remove unused call --- .../scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala | 3 --- 1 file changed, 3 deletions(-) diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala index 5cc1047fc067b..11a8c53593d27 100644 --- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala +++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala @@ -1102,9 +1102,6 @@ private[spark] class HiveExternalCatalog(conf: SparkConf, hadoopConf: Configurat table: String, newParts: Seq[CatalogTablePartition]): Unit = withClient { val lowerCasedParts = newParts.map(p => p.copy(spec = lowerCasePartitionSpec(p.spec))) - - val rawTable = getRawTable(db, table) - // convert partition statistics to properties so that we can persist them through hive api val withStatsProps = lowerCasedParts.map { p => if (p.stats.isDefined) {