Github user mgaido91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/19691#discussion_r190205589
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/InsertIntoHadoopFsRelationCommand.scala
---
@@ -128,7 +128,7 @@ case class InsertIntoHadoopFsRelationCommand(
val deletedPartitions = initialMatchingPartitions.toSet --
updatedPartitions
if (deletedPartitions.nonEmpty) {
AlterTableDropPartitionCommand(
- catalogTable.get.identifier, deletedPartitions.toSeq,
+ catalogTable.get.identifier, deletedPartitions.map(x =>
(x, Seq())).toSeq,
--- End diff --
`Seq.empty`
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]