Github user ericl commented on a diff in the pull request:
https://github.com/apache/spark/pull/15024#discussion_r84975966
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/InMemoryCatalog.scala
---
@@ -145,7 +145,7 @@ class InMemoryCatalog(
fs.delete(location, true)
} catch {
case e: IOException =>
- throw new SparkException(s"Unable to drop database
${dbDefinition.name} as failed " +
+ throw new IOException(s"Unable to drop database
${dbDefinition.name} as failed " +
--- End diff --
Not related to this PR, but just as a note I think it would be more
grammatically correct to say "since deletion of ${..} failed" rather than "as
we failed to delete ${..}".
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]