Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-41532][CONNECT][FOLLOWUP] Make the scala client using the same…
… error class as python client ### What changes were proposed in this pull request? The python connect client define the error class in `error_classes.py`. `SESSION_NOT_SAME` is an error class used to check the `SparkSession` of one dataset is the same the other dataset. Please refer [`error_classes.py` ](https://github.com/apache/spark/blob/546e39c5dabc1111243ab81b6238dc893d9993e0/python/pyspark/errors/error_classes.py#L678C1-L678C1) But the scala connect client not the the same error class. ### Why are the changes needed? This PR make the scala client using the same error class as python client. ### Does this PR introduce _any_ user-facing change? 'No'. Just update the inner implementation. ### How was this patch tested? Exists test cases. Closes apache#42256 from beliefer/SPARK-41532_followup. Authored-by: Jiaan Geng <beliefer@163.com> Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
- Loading branch information