Skip to content

Commit a9f9710

Browse files
committed
Thu Dec 1 19:36:07 PST 2016
1 parent b79cef4 commit a9f9710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSourceStrategy.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ case class DataSourceAnalysis(conf: CatalystConf) extends Rule[LogicalPlan] {
217217
if (deletedPartitions.nonEmpty) {
218218
AlterTableDropPartitionCommand(
219219
l.catalogTable.get.identifier, deletedPartitions.toSeq,
220-
ifExists = true, purge = true,
220+
ifExists = true, purge = false,
221221
retainData = true /* already deleted */).run(t.sparkSession)
222222
}
223223
}

0 commit comments

Comments
 (0)