rdblue commented on code in PR #9513:
URL: https://github.com/apache/iceberg/pull/9513#discussion_r1471666384
##########
spark/v3.5/spark-extensions/src/main/scala/org/apache/spark/sql/execution/datasources/v2/ExtendedDataSourceV2Strategy.scala:
##########
@@ -123,6 +128,18 @@ case class ExtendedDataSourceV2Strategy(spark:
SparkSession) extends Strategy wi
allowExisting = allowExisting,
replace = replace) :: Nil
+ case d@DescribeRelation(ResolvedV2View(catalog, ident), _, isExtended, _)
=>
+ DescribeV2ViewExec(d.output, catalog.loadView(ident), isExtended) :: Nil
+
+ case show@ShowTableProperties(ResolvedV2View(catalog, ident), propertyKey,
_) =>
+ ShowV2ViewPropertiesExec(show.output, catalog.loadView(ident),
propertyKey) :: Nil
Review Comment:
It's a little odd to use `show.output` but then name `propertyKey` in the
pattern. Why not name `output` in the pattern and reference it directly?
--
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]