jzhuge commented on code in PR #35636:
URL: https://github.com/apache/spark/pull/35636#discussion_r843227037
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala:
##########
@@ -44,7 +44,7 @@ import org.apache.spark.sql.catalyst.trees.{AlwaysProcess,
CurrentOrigin}
import org.apache.spark.sql.catalyst.trees.CurrentOrigin.withOrigin
import org.apache.spark.sql.catalyst.trees.TreePattern._
import org.apache.spark.sql.catalyst.util.{toPrettySQL, CharVarcharUtils}
-import org.apache.spark.sql.connector.catalog._
+import org.apache.spark.sql.connector.catalog.{View => _, _}
Review Comment:
Compile error without the change:
```
[ERROR]
/Users/jzhuge/Repos/upstream-spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala:1002:
reference to View is ambiguous;
it is imported twice in the same scope by
import org.apache.spark.sql.connector.catalog._
and import org.apache.spark.sql.catalyst.plans.logical._
```
--
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]