Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/13283#discussion_r64631435 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSource.scala --- @@ -108,21 +108,20 @@ case class DataSource( dataSource case Failure(error) => if (error.isInstanceOf[ClassNotFoundException]) { - val className = error.getMessage - if (spark2RemovedClasses.contains(className)) { - throw new ClassNotFoundException(s"$className is removed in Spark 2.0. " + + // error.getMessage is the class name of provider2. Instead, we use provider here. --- End diff -- In a second thought, I don't think we need this `if` branch. Could you just remove it?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org