MaxGekk commented on a change in pull request #35445:
URL: https://github.com/apache/spark/pull/35445#discussion_r802475371
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
##########
@@ -3591,7 +3591,8 @@ class Analyzer(override val catalogManager:
CatalogManager)
case u @ UpCast(child, _, _) if !child.resolved => u
case UpCast(_, target, _) if target != DecimalType &&
!target.isInstanceOf[DataType] =>
- throw
QueryCompilationErrors.unsupportedAbstractDataTypeForUpCastError(target)
+ throw new AnalysisException(
Review comment:
I haven't find a way to trigger the exception from user space yet. Any
help is welcome.
--
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]