We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc71658 commit 744aa20Copy full SHA for 744aa20
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala
@@ -53,7 +53,7 @@ private[hive] class HiveMetastoreCatalog(hive: HiveContext) extends Catalog with
53
val table = client.getTable(databaseName, tableName)
54
val partitions: Seq[Partition] =
55
if (table.isPartitioned) {
56
- client.getPartitions(table)
+ client.getAllPartitionsForPruner(table).toSeq
57
} else {
58
Nil
59
}
0 commit comments