viirya commented on code in PR #10442:
URL: https://github.com/apache/iceberg/pull/10442#discussion_r1626506489
##########
spark/v3.4/spark-extensions/src/main/scala/org/apache/spark/sql/catalyst/analysis/RewriteViewCommands.scala:
##########
@@ -66,10 +66,13 @@ case class RewriteViewCommands(spark: SparkSession) extends
Rule[LogicalPlan] wi
allowExisting = allowExisting,
replace = replace)
- case ShowViews(UnresolvedNamespace(Seq()), pattern, output)
- if ViewUtil.isViewCatalog(catalogManager.currentCatalog) =>
- ShowIcebergViews(ResolvedNamespace(catalogManager.currentCatalog,
catalogManager.currentNamespace),
- pattern, output)
+ case ShowViews(UnresolvedNamespace(Seq()), pattern, output) =>
Review Comment:
What you mean it failed in `CatalogAndNamespace(catalog, ns)`? It is a
matcher to extract catalog and namespace, how does it fail?
--
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]