UnresolvedTable Leaf Logical Operator¶
UnresolvedTable
is an unresolved leaf logical operator (UnresolvedLeafNode
) that represents a table that has yet to be looked up in a catalog.
UnresolvedCatalogRelation
UnresolvedCatalogRelation leaf logical operator looks very similar.
Creating Instance¶
UnresolvedTable
takes the following to be created:
- Multi-Part Identifier
- Command Name
- Optional
relationTypeMismatchHint
UnresolvedTable
is created when:
AstBuilder
is requested to create an UnresolvedTableCatalogImpl
is requested to recover partitions
Logical Analysis¶
UnresolvedTable
is resolved by ResolveRelations logical resolution rule.
CheckAnalysis and AnalysisException
CheckAnalysis reports an AnalysisException
(TABLE_OR_VIEW_NOT_FOUND
) when there are any UnresolvedTable
s left in a logical query plan after logical analysis.