dtenedor commented on code in PR #36212:
URL: https://github.com/apache/spark/pull/36212#discussion_r852287809
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveDefaultColumns.scala:
##########
@@ -280,6 +280,9 @@ case class ResolveDefaultColumns(
case SubqueryAlias(_, r: UnresolvedCatalogRelation) =>
StructType(r.tableMeta.schema.fields.dropRight(
enclosingInsert.get.partitionSpec.size))
+ case SubqueryAlias(_, r: View) =>
Review Comment:
I'm a bit confused about what it means to `INSERT INTO` a view. Can you
leave a comment
--
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]