Github user yhuai commented on a diff in the pull request:
https://github.com/apache/spark/pull/1846#discussion_r16559877
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicOperators.scala
---
@@ -132,6 +132,7 @@ case class InsertIntoCreatedTable(
child: LogicalPlan) extends UnaryNode {
override def references = Set.empty
override def output = child.output
+ override lazy val resolved = (databaseName != None && childrenResolved)
--- End diff --
Seems if users do not specify the database name, `resolved` will always be
`false`. If we do not add the logic to resolve the database name, I suggest
that we remove this change for now.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]