zeruibao commented on code in PR #41052:
URL: https://github.com/apache/spark/pull/41052#discussion_r1210539286
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala:
##########
@@ -3510,4 +3510,34 @@ private[sql] object QueryCompilationErrors extends
QueryErrorsBase {
errorClass = "CANNOT_RENAME_ACROSS_SCHEMA", messageParameters =
Map("type" -> "table")
)
}
+
+ def avroIncorrectTypeError(
+ avroPath: String, sqlPath: String, avroType: String,
+ sqlType: String, key: String): Throwable = {
+ new AnalysisException(
Review Comment:
I am not 100% sure about it. @gengliangwang should it be
`SparkRuntimeExceptions`?
--
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]