MaxGekk opened a new pull request, #36558:
URL: https://github.com/apache/spark/pull/36558

   ### What changes were proposed in this pull request?
   Remove `SparkIllegalStateException` and replace it by 
`IllegalStateException` where it was used.
   
   This is a backport of https://github.com/apache/spark/pull/36550.
   
   ### Why are the changes needed?
   To improve code maintenance and be consistent to other places where 
`IllegalStateException` is used in illegal states (for instance, see 
https://github.com/apache/spark/pull/36524). After the PR 
https://github.com/apache/spark/pull/36500, the exception is substituted by 
`SparkException` w/ the `INTERNAL_ERROR` error class.
   
   ### Does this PR introduce _any_ user-facing change?
   No. Users shouldn't face to the exception in regular cases.
   
   ### How was this patch tested?
   By running the affected test suites:
   ```
   $ build/sbt "sql/test:testOnly *QueryExecutionErrorsSuite*"
   $ build/sbt "test:testOnly *ArrowUtilsSuite"
   ```
   
   Authored-by: Max Gekk <max.g...@gmail.com>
   Signed-off-by: Max Gekk <max.g...@gmail.com>
   (cherry picked from commit 1a90512f605c490255f7b38215c207e64621475b)
   Signed-off-by: Max Gekk <max.g...@gmail.com>


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

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to