cloud-fan commented on a change in pull request #31316:
URL: https://github.com/apache/spark/pull/31316#discussion_r577734795
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -234,10 +235,11 @@ object UnresolvedAttribute {
case class UnresolvedGenerator(name: FunctionIdentifier, children:
Seq[Expression])
extends Generator {
- override def elementSchema: StructType = throw new
UnresolvedException("elementTypes")
- override def dataType: DataType = throw new UnresolvedException("dataType")
- override def foldable: Boolean = throw new UnresolvedException("foldable")
- override def nullable: Boolean = throw new UnresolvedException("nullable")
Review comment:
I think these are assert-like errors that end-users should not hit. Can
we keep them here?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]