Github user ericl commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15024#discussion_r84975077
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/InMemoryCatalog.scala
 ---
    @@ -116,7 +116,7 @@ class InMemoryCatalog(
             fs.mkdirs(location)
           } catch {
             case e: IOException =>
    -          throw new SparkException(s"Unable to create database 
${dbDefinition.name} as failed " +
    +          throw new IOException(s"Unable to create database 
${dbDefinition.name} as failed " +
    --- End diff --
    
    Is it possible users depend on the conversion to SparkException? It seems 
safer to leave it as is.


---
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]

Reply via email to