maheshrajus commented on code in PR #4276: URL: https://github.com/apache/carbondata/pull/4276#discussion_r909486640
########## integration/spark/src/main/scala/org/apache/spark/sql/execution/command/partition/CarbonAlterTableDropHivePartitionCommand.scala: ########## @@ -105,6 +106,25 @@ case class CarbonAlterTableDropHivePartitionCommand( ifExists, purge, retainData).run(sparkSession) + + // move the partition files to trash folder which are dropped + val droppedPartitionNames = partitions.map { partition => + partition.spec.map { specs => specs._1 + "=" + specs._2} + } + val droppedPartitionName = droppedPartitionNames.head.mkString("/") Review Comment: done ########## integration/spark/src/main/scala/org/apache/spark/sql/execution/command/partition/CarbonAlterTableDropHivePartitionCommand.scala: ########## @@ -105,6 +106,25 @@ case class CarbonAlterTableDropHivePartitionCommand( ifExists, purge, retainData).run(sparkSession) + + // move the partition files to trash folder which are dropped + val droppedPartitionNames = partitions.map { partition => + partition.spec.map { specs => specs._1 + "=" + specs._2} + } + val droppedPartitionName = droppedPartitionNames.head.mkString("/") Review Comment: done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@carbondata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org