You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/04/07 09:06:53 UTC

[GitHub] [spark] viirya commented on pull request #31548: [SPARK-34127][SQL] Support table valued command

viirya commented on pull request #31548:
URL: https://github.com/apache/spark/pull/31548#issuecomment-814744497


   > Ah good point. One way is to eagerly execute the command when creating the view, so `v` is excluded from the result, but it's a bit tricky to make the view not lazy.
   > 
   > Another idea is to allow SHOW TABLES etc. as subqueries, e.g. `SELECT ... FROM (SHOW TABLES)`.
   
   Making a non lazy view sounds weird to me. We then create another kind of special view just for this kind of commands.
   
   The subquery approach looks more promising to me.
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org