beliefer commented on a change in pull request #31548:
URL: https://github.com/apache/spark/pull/31548#discussion_r578100090



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -136,6 +136,29 @@ case class UnresolvedTableValuedFunction(
   override lazy val resolved = false
 }
 
+/**
+ * A table-valued command, e.g.
+ * {{{
+ *   select tableName from command("show tables");

Review comment:
       First, this PR references the table-valued-function. So, I call the 
syntax is table-valued-command.
   Second, Users want use filter clause, group by, ... on table-valued-command. 
In fact, This PR adopt the syntax-based approach is much simpler than built-in 
function.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to