panbingkun commented on code in PR #46937:
URL: https://github.com/apache/spark/pull/46937#discussion_r1636008143
##########
sql/core/src/main/scala/org/apache/spark/sql/jdbc/JdbcDialects.scala:
##########
@@ -740,15 +740,16 @@ abstract class JdbcDialect extends Serializable with
Logging {
* @param e The dialect specific exception.
* @param errorClass The error class assigned in the case of an unclassified
`e`
* @param messageParameters The message parameters of `errorClass`
- * @param description The error description
* @return `AnalysisException` or its sub-class.
*/
def classifyException(
e: Throwable,
errorClass: String,
- messageParameters: Map[String, String],
- description: String): AnalysisException = {
- classifyException(description, e)
+ messageParameters: Map[String, String]): AnalysisException = {
+ new AnalysisException(
Review Comment:
Yeah, this should already be in the execution phase, so it's not reasonable.
Let me go through the history first.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]