MaxGekk commented on pull request #30667: URL: https://github.com/apache/spark/pull/30667#issuecomment-740463398
We don't need to catch exceptions from `partitionExists()` in ALTER TABLE .. ADD/DROP PARTITION there https://github.com/apache/spark/blob/0a612b6a40696ed8ce00997ebb4e76d05adbbd82/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/AlterTableAddPartitionExec.scala#L40 because the partition spec resolver guaranties fully specified partition id after this PR https://github.com/apache/spark/pull/30624 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
