cloud-fan commented on a change in pull request #33835:
URL: https://github.com/apache/spark/pull/33835#discussion_r696247760



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/v2ResolutionPlans.scala
##########
@@ -124,6 +124,16 @@ case class UnresolvedFunc(multipartIdentifier: 
Seq[String]) extends LeafNode {
   final override val nodePatterns: Seq[TreePattern] = Seq(UNRESOLVED_FUNC)
 }
 
+/**
+ * Holds the name of a database object (table, view, namespace, function, 
etc.) that is to be
+ * created and we need to determine the catalog to store it. It will be 
resolved to
+ * [[ResolvedObjectName]] during analysis.
+ */
+case class UnresolvedObjectName(nameParts: Seq[String], isNamespace: Boolean) 
extends LeafNode {

Review comment:
       only namespace is different, as we don't need to consider the current 
namespace when resolving the catalog from the name and trying to qualify the 
name.




-- 
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]

Reply via email to