ulysses-you commented on a change in pull request #29152:
URL: https://github.com/apache/spark/pull/29152#discussion_r457762258
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/command/views.scala
##########
@@ -96,6 +97,7 @@ case class CreateViewCommand(
qe.assertAnalyzed()
val analyzedPlan = qe.analyzed
+ assertNoNullTypeInSchema(analyzedPlan.schema)
Review comment:
This check is for `df.createTempView`. Note that, we support `select
null as c` but fail in create view with null type plan.
----------------------------------------------------------------
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]