Skip to content

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:

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 UnresolvedTables left in a logical query plan after logical analysis.