This is an automated email from the ASF dual-hosted git repository. gurwls223 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new 47d3fa83e70 [SPARK-45589][PYTHON][DOCS] Supplementary exception class 47d3fa83e70 is described below commit 47d3fa83e70ec0b05ac72c6b7c47ee905543b6bd Author: panbingkun <pbk1...@gmail.com> AuthorDate: Thu Oct 19 14:18:16 2023 +0900 [SPARK-45589][PYTHON][DOCS] Supplementary exception class ### What changes were proposed in this pull request? The pr aims to supplementary exception class for pyspark docs. ### Why are the changes needed? Currently, there are only the following classes in the document, <img width="762" alt="image" src="https://github.com/apache/spark/assets/15246973/c297d00b-5534-4751-9d97-90c0b4d14a81"> Actually: <img width="461" alt="image" src="https://github.com/apache/spark/assets/15246973/42a8a0e3-ba90-4c33-8b2f-1deef3753896"> ### Does this PR introduce _any_ user-facing change? Yes, more complete documentation on exception classes. ### How was this patch tested? - Pass GA. - Manually test. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #43427 from panbingkun/SPARK-45589. Authored-by: panbingkun <pbk1...@gmail.com> Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> --- python/docs/source/reference/pyspark.errors.rst | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/python/docs/source/reference/pyspark.errors.rst b/python/docs/source/reference/pyspark.errors.rst index 13db9bd01fa..8723de8ebf2 100644 --- a/python/docs/source/reference/pyspark.errors.rst +++ b/python/docs/source/reference/pyspark.errors.rst @@ -28,16 +28,29 @@ Classes .. autosummary:: :toctree: api/ - PySparkException AnalysisException - TempTableAlreadyExistsException - ParseException + ArithmeticException + ArrayIndexOutOfBoundsException + DateTimeException IllegalArgumentException - StreamingQueryException - QueryExecutionException + NumberFormatException + ParseException + PySparkAssertionError + PySparkAttributeError + PySparkException + PySparkNotImplementedError + PySparkPicklingError + PySparkRuntimeError + PySparkTypeError + PySparkValueError PythonException - UnknownException + QueryExecutionException + SparkRuntimeException SparkUpgradeException + StreamingQueryException + TempTableAlreadyExistsException + UnknownException + UnsupportedOperationException Methods --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org