cloud-fan commented on a change in pull request #28477:
URL: https://github.com/apache/spark/pull/28477#discussion_r421570077



##########
File path: core/src/main/scala/org/apache/spark/SparkException.scala
##########
@@ -48,5 +48,5 @@ private[spark] case class ExecutorDeadException(message: 
String)
  * Exception thrown when Spark returns different result after upgrading to a 
new version.
  */
 private[spark] class SparkUpgradeException(version: String, message: String, 
cause: Throwable)
-  extends SparkException("You may get a different result due to the upgrading 
of Spark" +
+  extends RuntimeException("You may get a different result due to the 
upgrading of Spark" +

Review comment:
       We need to throw this exception in vectorized parquet reader, which only 
allows IOException to be thrown. So change it to unchecked exception. cc 
@xuanyuanking 




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

Reply via email to