File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -748,8 +748,6 @@ class Analyzer(
748
748
* [[ResolveRelations ]] still resolves v1 tables.
749
749
*/
750
750
object ResolveTables extends Rule [LogicalPlan ] {
751
- import org .apache .spark .sql .connector .catalog .CatalogV2Implicits ._
752
-
753
751
def apply (plan : LogicalPlan ): LogicalPlan = ResolveTempViews (plan).resolveOperatorsUp {
754
752
case u : UnresolvedRelation =>
755
753
lookupV2Relation(u.multipartIdentifier)
@@ -780,7 +778,7 @@ class Analyzer(
780
778
}
781
779
if (maybeTempView.isDefined) {
782
780
throw new AnalysisException (
783
- s " A temp view ' ${unresolved.originalNameParts.quoted }' cannot be handled by V2 commands. " )
781
+ s " A temp view ' ${unresolved.originalNameParts.head }' cannot be handled by V2 commands. " )
784
782
}
785
783
786
784
CatalogV2Util .loadRelation(unresolved.catalog, unresolved.tableName)
You can’t perform that action at this time.
0 commit comments